mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-11 07:45:41 +03:00
Adjustments
This commit is contained in:
parent
58a8ea5ef8
commit
c2e83a0937
@ -225,7 +225,9 @@ export function GroupedClassificationCard({
|
||||
return {
|
||||
...bestTyped,
|
||||
name: event
|
||||
? (event.sub_label ?? t(noClassificationLabel))
|
||||
? event.sub_label && event.sub_label !== "none"
|
||||
? event.sub_label
|
||||
: t(noClassificationLabel)
|
||||
: bestTyped.name,
|
||||
score: event?.data?.sub_label_score || bestTyped.score,
|
||||
};
|
||||
@ -315,10 +317,10 @@ export function GroupedClassificationCard({
|
||||
isMobile && "px-2",
|
||||
)}
|
||||
>
|
||||
{event?.sub_label
|
||||
{event?.sub_label && event.sub_label !== "none"
|
||||
? event.sub_label
|
||||
: t(noClassificationLabel)}
|
||||
{event?.sub_label && (
|
||||
{event?.sub_label && event.sub_label !== "none" && (
|
||||
<div
|
||||
className={cn(
|
||||
"",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user