NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Fix Config success message (#8121)
Nicolas Mowendcafcc13206c
diff --git a/web/src/routes/CameraMap.jsx b/web/src/routes/CameraMap.jsxindex a508d80b24..6beaff2f59 100644--- a/web/src/routes/CameraMap.jsx+++ b/web/src/routes/CameraMap.jsx@@ -135,7 +135,7 @@ export default function CameraMasks({ camera }) {const endpoint = `config/set?${queryParameters}`;const response = await axios.put(endpoint);if (response.status === 200) {- setSuccess(response.data);+ setSuccess(response.data.message);}} catch (error) {if (error.response) {diff --git a/web/src/routes/Config.jsx b/web/src/routes/Config.jsxindex 33354b30b8..21d2160a70 100644--- a/web/src/routes/Config.jsx+++ b/web/src/routes/Config.jsx@@ -29,7 +29,7 @@ export default function Config() {.then((response) => {if (response.status === 200) {setError('');- setSuccess(response.data);+ setSuccess(response.data.message);}}).catch((error) => {