add sub_label to type

This commit is contained in:
Josh Hawkins 2024-05-01 07:45:38 -05:00
parent 05e147989b
commit 13d63d2096
2 changed files with 2 additions and 0 deletions

View File

@ -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];
}

View File

@ -48,6 +48,7 @@ export type ObjectType = {
area: number;
ratio: number;
score: number;
sub_label: string;
};
export interface FrigateCameraState {