mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-12 22:25:24 +03:00
replace underscores with spaces in zone names
This commit is contained in:
parent
d79e54265f
commit
ccb612bb52
@ -343,7 +343,7 @@ export default function CameraSettingsView({
|
|||||||
<div className="text-sm">
|
<div className="text-sm">
|
||||||
All {alertsLabels} objects
|
All {alertsLabels} objects
|
||||||
{watchedAlertsZones && watchedAlertsZones.length > 0
|
{watchedAlertsZones && watchedAlertsZones.length > 0
|
||||||
? ` detected in ${watchedAlertsZones.map((zone) => capitalizeFirstLetter(zone)).join(", ")}`
|
? ` detected in ${watchedAlertsZones.map((zone) => capitalizeFirstLetter(zone).replaceAll("_", " ")).join(", ")}`
|
||||||
: ""}{" "}
|
: ""}{" "}
|
||||||
on{" "}
|
on{" "}
|
||||||
{capitalizeFirstLetter(
|
{capitalizeFirstLetter(
|
||||||
@ -444,7 +444,7 @@ export default function CameraSettingsView({
|
|||||||
<em>not classified as Alerts</em>{" "}
|
<em>not classified as Alerts</em>{" "}
|
||||||
{watchedDetectionsZones &&
|
{watchedDetectionsZones &&
|
||||||
watchedDetectionsZones.length > 0
|
watchedDetectionsZones.length > 0
|
||||||
? ` that are detected in ${watchedDetectionsZones.map((zone) => capitalizeFirstLetter(zone)).join(", ")}`
|
? ` that are detected in ${watchedDetectionsZones.map((zone) => capitalizeFirstLetter(zone).replaceAll("_", " ")).join(", ")}`
|
||||||
: ""}{" "}
|
: ""}{" "}
|
||||||
on{" "}
|
on{" "}
|
||||||
{capitalizeFirstLetter(
|
{capitalizeFirstLetter(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user