diff --git a/web/src/views/settings/CameraSettingsView.tsx b/web/src/views/settings/CameraSettingsView.tsx index d8100a4f4..082d0f33f 100644 --- a/web/src/views/settings/CameraSettingsView.tsx +++ b/web/src/views/settings/CameraSettingsView.tsx @@ -343,7 +343,7 @@ export default function CameraSettingsView({
All {alertsLabels} objects {watchedAlertsZones && watchedAlertsZones.length > 0 - ? ` detected in ${watchedAlertsZones.map((zone) => capitalizeFirstLetter(zone)).join(", ")}` + ? ` detected in ${watchedAlertsZones.map((zone) => capitalizeFirstLetter(zone).replaceAll("_", " ")).join(", ")}` : ""}{" "} on{" "} {capitalizeFirstLetter( @@ -444,7 +444,7 @@ export default function CameraSettingsView({ not classified as Alerts{" "} {watchedDetectionsZones && 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{" "} {capitalizeFirstLetter(