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

@@ -118,7 +118,7 @@ const BarChartInput = (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"){