Add versionId parameter to addingWidgets function and update widget calls
This commit is contained in:
@@ -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"){
|
||||
|
||||
Reference in New Issue
Block a user