mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-09-26 19:41:29 +08:00
Fixes (#18777)
* Remove tracked object update resets * Adjust face blur reduction * Add space for config editor buttons * Slight adjustment * Fix double thats * update icons --------- Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
This commit is contained in:
@@ -339,7 +339,7 @@
|
||||
"clickDrawPolygon": "Click to draw a polygon on the image.",
|
||||
"objects": {
|
||||
"title": "Objects",
|
||||
"desc": "The object type that that applies to this object mask.",
|
||||
"desc": "The object type that applies to this object mask.",
|
||||
"allObjectTypes": "All object types"
|
||||
},
|
||||
"toast": {
|
||||
|
@@ -265,7 +265,7 @@ function ConfigEditor() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-1 flex-col overflow-hidden">
|
||||
<div className="mt-2 flex flex-1 flex-col overflow-hidden">
|
||||
{error && (
|
||||
<div className="mt-2 max-h-[30%] min-h-[2.5rem] overflow-auto whitespace-pre-wrap border-2 border-muted bg-background_alt p-4 text-sm text-danger md:max-h-[40%]">
|
||||
{error}
|
||||
|
@@ -26,11 +26,13 @@ import {
|
||||
GiDeer,
|
||||
GiFox,
|
||||
GiGoat,
|
||||
GiKangaroo,
|
||||
GiPolarBear,
|
||||
GiPostStamp,
|
||||
GiRabbit,
|
||||
GiRaccoonHead,
|
||||
GiSailboat,
|
||||
GiSquirrel,
|
||||
} from "react-icons/gi";
|
||||
import { LuBox, LuLassoSelect, LuScanBarcode } from "react-icons/lu";
|
||||
import * as LuIcons from "react-icons/lu";
|
||||
@@ -72,6 +74,7 @@ export function getIconForLabel(label: string, className?: string) {
|
||||
case "boat":
|
||||
return <GiSailboat key={label} className={className} />;
|
||||
case "bus":
|
||||
case "school_bus":
|
||||
return <FaBus key={label} className={className} />;
|
||||
case "car":
|
||||
case "vehicle":
|
||||
@@ -90,6 +93,8 @@ export function getIconForLabel(label: string, className?: string) {
|
||||
return <GiGoat key={label} className={className} />;
|
||||
case "horse":
|
||||
return <FaHorse key={label} className={className} />;
|
||||
case "kangaroo":
|
||||
return <GiKangaroo key={label} className={className} />;
|
||||
case "license_plate":
|
||||
return <LuScanBarcode key={label} className={className} />;
|
||||
case "motorcycle":
|
||||
@@ -108,6 +113,8 @@ export function getIconForLabel(label: string, className?: string) {
|
||||
return <FaHockeyPuck key={label} className={className} />;
|
||||
case "sports_ball":
|
||||
return <FaFootballBall key={label} className={className} />;
|
||||
case "skunk":
|
||||
return <GiSquirrel key={label} className={className} />;
|
||||
case "squirrel":
|
||||
return <LuIcons.LuSquirrel key={label} className={className} />;
|
||||
case "umbrella":
|
||||
@@ -127,12 +134,14 @@ export function getIconForLabel(label: string, className?: string) {
|
||||
case "amazon":
|
||||
return <FaAmazon key={label} className={className} />;
|
||||
case "an_post":
|
||||
case "canada_post":
|
||||
case "dpd":
|
||||
case "gls":
|
||||
case "nzpost":
|
||||
case "postnl":
|
||||
case "postnord":
|
||||
case "purolator":
|
||||
case "royal_mail":
|
||||
return <GiPostStamp key={label} className={className} />;
|
||||
case "dhl":
|
||||
return <FaDhl key={label} className={className} />;
|
||||
|
Reference in New Issue
Block a user