1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-10 23:22:22 +02:00

fix(web): show camera make in search options after searching (#11884)

This commit is contained in:
Michel Heusschen
2024-08-18 14:12:10 +02:00
committed by GitHub
parent 5ef9a8ff8d
commit c9f1304bce

View File

@@ -27,11 +27,12 @@
model, model,
includeNull: true, includeNull: true,
}); });
makes = results.map((result) => result ?? '');
if (filters.make && !makes.includes(filters.make)) { if (filters.make && !makes.includes(filters.make)) {
filters.make = undefined; filters.make = undefined;
} }
makes = results.map((result) => result ?? '');
} }
async function updateModels(make?: string) { async function updateModels(make?: string) {