mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-17 08:35:21 +03:00
Tweak bird icon and fix _ in object name
This commit is contained in:
parent
1fc4af9c86
commit
6ccde086e6
@ -276,7 +276,9 @@ export default function LivePlayer({
|
|||||||
]),
|
]),
|
||||||
]
|
]
|
||||||
.filter((label) => label?.includes("-verified") == false)
|
.filter((label) => label?.includes("-verified") == false)
|
||||||
.map((label) => capitalizeFirstLetter(label))
|
.map((label) =>
|
||||||
|
capitalizeFirstLetter(label.replaceAll("_", " ")),
|
||||||
|
)
|
||||||
.sort()
|
.sort()
|
||||||
.join(", ")
|
.join(", ")
|
||||||
.replaceAll("-verified", "")}
|
.replaceAll("-verified", "")}
|
||||||
|
|||||||
@ -26,7 +26,6 @@ import {
|
|||||||
GiDeer,
|
GiDeer,
|
||||||
GiFox,
|
GiFox,
|
||||||
GiGoat,
|
GiGoat,
|
||||||
GiHummingbird,
|
|
||||||
GiPolarBear,
|
GiPolarBear,
|
||||||
GiPostStamp,
|
GiPostStamp,
|
||||||
GiRabbit,
|
GiRabbit,
|
||||||
@ -36,6 +35,7 @@ import {
|
|||||||
import { LuBox, LuLassoSelect } from "react-icons/lu";
|
import { LuBox, LuLassoSelect } from "react-icons/lu";
|
||||||
import * as LuIcons from "react-icons/lu";
|
import * as LuIcons from "react-icons/lu";
|
||||||
import { MdRecordVoiceOver } from "react-icons/md";
|
import { MdRecordVoiceOver } from "react-icons/md";
|
||||||
|
import { PiBirdFill } from "react-icons/pi";
|
||||||
|
|
||||||
export function getAttributeLabels(config?: FrigateConfig) {
|
export function getAttributeLabels(config?: FrigateConfig) {
|
||||||
if (!config) {
|
if (!config) {
|
||||||
@ -66,7 +66,7 @@ export function getIconForLabel(label: string, className?: string) {
|
|||||||
case "bicycle":
|
case "bicycle":
|
||||||
return <FaBicycle key={label} className={className} />;
|
return <FaBicycle key={label} className={className} />;
|
||||||
case "bird":
|
case "bird":
|
||||||
return <GiHummingbird key={label} className={className} />;
|
return <PiBirdFill key={label} className={className} />;
|
||||||
case "boat":
|
case "boat":
|
||||||
return <GiSailboat key={label} className={className} />;
|
return <GiSailboat key={label} className={className} />;
|
||||||
case "bus":
|
case "bus":
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user