mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-16 18:16:44 +03:00
Choose last item for unknown objects
This commit is contained in:
parent
e246d84ddd
commit
90a5f3a63e
@ -211,7 +211,7 @@ export function GroupedClassificationCard({
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (!best) {
|
if (!best) {
|
||||||
return group[0];
|
return group.at(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
const bestTyped: ClassificationItemData = best;
|
const bestTyped: ClassificationItemData = best;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user