develop #30

Merged
TobaOjo merged 9 commits from develop into main 2025-12-19 11:12:19 +00:00
31 changed files with 447 additions and 291 deletions
Showing only changes of commit dfc14575a8 - Show all commits

View File

@@ -48,7 +48,6 @@ const RegionSelector = ({
const getMagnificationLevel = () => { const getMagnificationLevel = () => {
const test = socket?.data; const test = socket?.data;
if (!socket?.data) return null; if (!socket?.data) return null;
console.log(test);
if (!test || !test.magnificationLevel) return "1x"; if (!test || !test.magnificationLevel) return "1x";
return test?.magnificationLevel; return test?.magnificationLevel;
}; };

View File

@@ -23,7 +23,6 @@ const postZoomLevel = async (zoomConfig: CameraZoomConfig) => {
id: `Camera${zoomConfig.cameraFeedID}-onvif-controller`, id: `Camera${zoomConfig.cameraFeedID}-onvif-controller`,
fields, fields,
}; };
console.log(zoomPayload);
const response = await fetch(`${CAMBASE}/api/update-config`, { const response = await fetch(`${CAMBASE}/api/update-config`, {
method: "POST", method: "POST",
body: JSON.stringify(zoomPayload), body: JSON.stringify(zoomPayload),