High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(web): show camera make in search options after searching (#11884)
Michel Heusschenc9f1304bce74
diff --git a/web/src/lib/components/shared-components/search-bar/search-camera-section.svelte b/web/src/lib/components/shared-components/search-bar/search-camera-section.svelteindex 3e7f03e9c2..3610b11a74 100644--- a/web/src/lib/components/shared-components/search-bar/search-camera-section.svelte+++ b/web/src/lib/components/shared-components/search-bar/search-camera-section.svelte@@ -27,11 +27,12 @@model,includeNull: true,});++ makes = results.map((result) => result ?? '');+if (filters.make && !makes.includes(filters.make)) {filters.make = undefined;}-- makes = results.map((result) => result ?? '');}async function updateModels(make?: string) {