Added segment filtering to filter form.

This commit is contained in:
Mike Cao committed 2025-07-27 02:08:19 -07:00
1 parent 2e69e57445
commit 2ad624ccc8
15 files changed
+301 -193

No files matched your search

+5 -1
View File
@@ -9,7 +9,11 @@ export function getItem(key: string, session?: boolean): any {
const value = (session ? sessionStorage : localStorage).getItem(key);
if (value !== 'undefined' && value !== null) {
return JSON.parse(value);
try {
return JSON.parse(value);
} catch {
return null;
}
}
}
}