diff --git a/src/views/SimproV2/CreatedProyek/DialogGantt.js b/src/views/SimproV2/CreatedProyek/DialogGantt.js index 3fc9550..0f72d16 100644 --- a/src/views/SimproV2/CreatedProyek/DialogGantt.js +++ b/src/views/SimproV2/CreatedProyek/DialogGantt.js @@ -74,12 +74,14 @@ const DialogGantt = ({ openDialog, closeDialog, toggleDialog, idTask, proyekName let payload; if (hierarchyId) { payload = { + "select": ["id", "name_version", "calculation_type", "description", "created_at", "progress"], "columns": [ { "name": "hierarchy_ftth_id", "logic_operator": "=", "value": hierarchyId, "operator": "AND" } ] } } else { payload = { + "select": ["id", "name_version", "calculation_type", "description", "created_at", "progress"], "columns": [ { "name": "proyek_id", "logic_operator": "=", "value": idTask, "operator": "AND" } ] diff --git a/src/views/SimproV2/CreatedProyek/index.js b/src/views/SimproV2/CreatedProyek/index.js index 05f4603..3278afb 100644 --- a/src/views/SimproV2/CreatedProyek/index.js +++ b/src/views/SimproV2/CreatedProyek/index.js @@ -304,6 +304,7 @@ const CreatedProyek = ({ params, ...props }) => { const getdataGantt = async (idTask) => { setLoadVersionGantt(true); const payload = { + select: ["id", "name_version"], columns: [ { name: "proyek_id",