small tweaks for frigate+ submission and debug object list

This commit is contained in:
Josh Hawkins 2024-10-13 16:26:02 -05:00
parent 66d0ad5803
commit 96453f17f8
2 changed files with 3 additions and 3 deletions

View File

@ -534,7 +534,7 @@ function ObjectSnapshotTab({
/> />
)} )}
</TransformComponent> </TransformComponent>
{search.plus_id !== "not_enabled" && ( {search.plus_id !== "not_enabled" && search.end_time && (
<Card className="p-1 text-sm md:p-2"> <Card className="p-1 text-sm md:p-2">
<CardContent className="flex flex-col items-center justify-between gap-3 p-2 md:flex-row"> <CardContent className="flex flex-col items-center justify-between gap-3 p-2 md:flex-row">
<div className={cn("flex flex-col space-y-3")}> <div className={cn("flex flex-col space-y-3")}>
@ -553,7 +553,7 @@ function ObjectSnapshotTab({
</div> </div>
<div className="flex flex-row justify-center gap-2 md:justify-end"> <div className="flex flex-row justify-center gap-2 md:justify-end">
{state == "reviewing" && search.end_time && ( {state == "reviewing" && (
<> <>
<Button <Button
className="bg-success" className="bg-success"

View File

@ -307,7 +307,7 @@ function ObjectList(objects?: ObjectType[]) {
{getIconForLabel(obj.label, "size-5 text-white")} {getIconForLabel(obj.label, "size-5 text-white")}
</div> </div>
<div className="ml-3 text-lg"> <div className="ml-3 text-lg">
{capitalizeFirstLetter(obj.label)} {capitalizeFirstLetter(obj.label.replaceAll("_", " "))}
</div> </div>
</div> </div>
<div className="flex w-8/12 flex-row items-end justify-end"> <div className="flex w-8/12 flex-row items-end justify-end">