From fd4db0cb9a72e80d0f731500a1862eab1306ed75 Mon Sep 17 00:00:00 2001 From: Wahyu Ramadhan Date: Tue, 23 May 2023 09:04:05 +0700 Subject: [PATCH 1/2] Import Nik --- src/routes.js | 1 + .../SimproV2/CreatedProyek/DialogGantt.js | 2 +- .../CreatedProyek/ImportActivity/index.js | 53 ++++++++++++++++++- 3 files changed, 54 insertions(+), 2 deletions(-) diff --git a/src/routes.js b/src/routes.js index 715634f..6b9cef4 100644 --- a/src/routes.js +++ b/src/routes.js @@ -57,6 +57,7 @@ const routes = [ { path: '/dashboard-project/:PROJECT_ID/:GANTT_ID', exact: true, name: 'Dashboard Project', component: DashboardProject }, { path: '/projects', exact: true, name: 'Projects', component: CreatedProyek }, { path: '/projects/:id/import/activity', exact: true, name: 'Gantt Import Activity', component: GanttImportActivity }, + { path: '/projects/:id/:project/import/activity', exact: true, name: 'Gantt Import Activity', component: GanttImportActivity }, { path: '/projects/:id/:project/gantt', exact: true, name: 'Gantt', component: Gantt }, { path: '/human-resource', exact: true, name: 'Human Resource', component: ResourceWorker }, { path: '/material-resource', exact: true, name: 'Material Resource', component: ResourceMaterial }, diff --git a/src/views/SimproV2/CreatedProyek/DialogGantt.js b/src/views/SimproV2/CreatedProyek/DialogGantt.js index d52819f..7fb98d7 100644 --- a/src/views/SimproV2/CreatedProyek/DialogGantt.js +++ b/src/views/SimproV2/CreatedProyek/DialogGantt.js @@ -130,7 +130,7 @@ const DialogGantt = ({ openDialog, closeDialog, toggleDialog, idTask, proyekName {" "} - + {" "}