forked from Github/frigate
Tracked object metadata changes (#15055)
* add enum and change topic name * frontend renaming * docs * only display sublabel score if it it exists * remove debug print
This commit is contained in:
@@ -309,7 +309,7 @@ function ObjectDetailsTab({
|
||||
return undefined;
|
||||
}
|
||||
|
||||
if (search.sub_label) {
|
||||
if (search.sub_label && search.data?.sub_label_score) {
|
||||
return Math.round((search.data?.sub_label_score ?? 0) * 100);
|
||||
} else {
|
||||
return undefined;
|
||||
|
||||
Reference in New Issue
Block a user