1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-07 06:16:05 +02:00

refactor(web): search box (#7397)

* refactor search suggestion handling

* chore: open api

* revert server changes

* chore: open api

* update location filters

* location filter cleanup

* refactor people filter

* refactor camera filter

* refactor display filter

* cleanup

---------

Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
This commit is contained in:
Daniel Dietzler
2024-02-26 22:45:08 +01:00
committed by GitHub
parent 45ecb629a1
commit 3e8af16270
9 changed files with 468 additions and 491 deletions

View File

@ -3,6 +3,10 @@
label: string;
value: string;
};
export function toComboBoxOptions(items: string[]) {
return items.map<ComboBoxOption>((item) => ({ label: item, value: item }));
}
</script>
<script lang="ts">