forked from Github/frigate
UI tweaks (#14326)
* small tweaks for frigate+ submission and debug object list * exclude attributes from labels colormap
This commit is contained in:
@@ -534,7 +534,7 @@ function ObjectSnapshotTab({
|
||||
/>
|
||||
)}
|
||||
</TransformComponent>
|
||||
{search.plus_id !== "not_enabled" && (
|
||||
{search.plus_id !== "not_enabled" && search.end_time && (
|
||||
<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">
|
||||
<div className={cn("flex flex-col space-y-3")}>
|
||||
@@ -553,7 +553,7 @@ function ObjectSnapshotTab({
|
||||
</div>
|
||||
|
||||
<div className="flex flex-row justify-center gap-2 md:justify-end">
|
||||
{state == "reviewing" && search.end_time && (
|
||||
{state == "reviewing" && (
|
||||
<>
|
||||
<Button
|
||||
className="bg-success"
|
||||
|
||||
@@ -307,7 +307,7 @@ function ObjectList(objects?: ObjectType[]) {
|
||||
{getIconForLabel(obj.label, "size-5 text-white")}
|
||||
</div>
|
||||
<div className="ml-3 text-lg">
|
||||
{capitalizeFirstLetter(obj.label)}
|
||||
{capitalizeFirstLetter(obj.label.replaceAll("_", " "))}
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex w-8/12 flex-row items-end justify-end">
|
||||
|
||||
Reference in New Issue
Block a user