Small tweaks (#17651)

* clarify lpr

* add license plate icon and correctly format string
This commit is contained in:
Josh Hawkins
2025-04-11 06:48:16 -06:00
committed by GitHub
parent 03f4318e40
commit 664889d487
4 changed files with 12 additions and 7 deletions
@@ -260,8 +260,9 @@ export default function ReviewDetailDialog({
event.label,
"size-3 text-primary",
)}
{event.sub_label ?? event.label} (
{Math.round(event.data.top_score * 100)}%)
{event.sub_label ??
event.label.replaceAll("_", " ")}{" "}
({Math.round(event.data.top_score * 100)}%)
<Tooltip>
<TooltipTrigger>
<div
+2
View File
@@ -90,6 +90,8 @@ export function getIconForLabel(label: string, className?: string) {
return <GiGoat key={label} className={className} />;
case "horse":
return <FaHorse key={label} className={className} />;
case "license_plate":
return <LuScanBarcode key={label} className={className} />;
case "motorcycle":
return <FaMotorcycle key={label} className={className} />;
case "mouse":