fix updating chart error

This commit is contained in:
Ziad-I
2024-07-02 18:15:44 +03:00
committed by Dion Moult
parent 4f44bde9e9
commit d05e30b4c5
@@ -210,6 +210,7 @@ function addGanttElement(blenderId, tasks, workSched, filename) {
function updateGanttElement(blenderId, tasks, workSched, filename) {
let g = connectedClients[blenderId]["gantt"];
g.ClearTasks();
g.Draw();
JSGantt.addJSONTask(g, tasks);
g.Draw();
}