Add versionId parameter to addingWidgets function and update widget calls

This commit is contained in:
2025-06-23 10:16:23 +05:30
parent 1ac0e86e74
commit d27c86a006
6 changed files with 18 additions and 17 deletions

View File

@@ -119,7 +119,7 @@ const PieChartInput = (props: Props) => {
// visualizationSocket.emit("v1:viz-3D-widget:add", adding3dWidget);
// }
let response = await addingWidgets(selectedZone.zoneUuid, organization, newWidget, projectId);
let response = await addingWidgets(selectedZone.zoneUuid, organization, newWidget, projectId, selectedVersion?.versionId || "");
if (response.message === "Widget updated successfully") {