fix(web): correctly populate the camera model search dropdown (#11883)

This commit is contained in:
Snowknight26 2024-08-18 07:13:41 -05:00 committed by GitHub
parent c9f1304bce
commit bd42e05152
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,7 +42,7 @@
includeNull: true,
});
const models = results.map((result) => result ?? '');
models = results.map((result) => result ?? '');
if (filters.model && !models.includes(filters.model)) {
filters.model = undefined;