mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-22 20:18:30 +03:00
Cleanup
This commit is contained in:
parent
5000687a23
commit
6e77cef1e5
@ -76,16 +76,10 @@ function Exports() {
|
||||
grouped[caseId] = [];
|
||||
}
|
||||
|
||||
if (exportFilter?.cameras?.length) {
|
||||
if (exportFilter.cameras.includes(exp.camera)) {
|
||||
grouped[caseId].push(exp);
|
||||
}
|
||||
} else {
|
||||
grouped[caseId].push(exp);
|
||||
}
|
||||
grouped[caseId].push(exp);
|
||||
});
|
||||
return grouped;
|
||||
}, [rawExports, exportFilter]);
|
||||
}, [rawExports]);
|
||||
|
||||
const filteredCases = useMemo<ExportCase[]>(() => {
|
||||
if (!cases) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user