mirror of
https://github.com/immich-app/immich.git
synced 2025-01-10 13:56:47 +01:00
f1b92718d5
* fix: broken search-bar during page load * fix: prevent race condition between go back and close search bar
6 lines
303 B
TypeScript
6 lines
303 B
TypeScript
import { persisted } from 'svelte-local-storage-store';
|
|
import { writable } from 'svelte/store';
|
|
|
|
export const savedSearchTerms = persisted<string[]>('search-terms', [], {});
|
|
export const isSearchEnabled = writable<boolean>(false);
|
|
export const preventRaceConditionSearchBar = writable<boolean>(false);
|