From 77f0b886b3d354dc96df054275e28f7168780c0a Mon Sep 17 00:00:00 2001 From: wahyuun Date: Fri, 10 Nov 2023 11:20:56 +0700 Subject: [PATCH] update loader --- src/views/SimproV2/CreatedProyek/DialogGantt.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/SimproV2/CreatedProyek/DialogGantt.js b/src/views/SimproV2/CreatedProyek/DialogGantt.js index 5dbb28f..3af6883 100644 --- a/src/views/SimproV2/CreatedProyek/DialogGantt.js +++ b/src/views/SimproV2/CreatedProyek/DialogGantt.js @@ -47,6 +47,7 @@ const DialogGantt = ({ openDialog, closeDialog, toggleDialog, idTask, proyekName useEffect(() => { if (openDialog && hierarchyId > 0 || idTask > 0 && !openDialogHierarchy) { + setLoading(true); getdataGantt(); } if (!openDialog) {