mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
add sub_label to type
This commit is contained in:
parent
05e147989b
commit
13d63d2096
@ -84,6 +84,7 @@ export function useCameraActivity(
|
||||
area: updatedEvent.after.area,
|
||||
ratio: updatedEvent.after.ratio,
|
||||
score: updatedEvent.after.score,
|
||||
sub_label: updatedEvent.after.sub_label?.[0] ?? "",
|
||||
};
|
||||
newObjects = [...objects, newActiveObject];
|
||||
}
|
||||
|
||||
@ -48,6 +48,7 @@ export type ObjectType = {
|
||||
area: number;
|
||||
ratio: number;
|
||||
score: number;
|
||||
sub_label: string;
|
||||
};
|
||||
|
||||
export interface FrigateCameraState {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user