diff --git a/src/containers/DefaultLayout/DefaultLayout.js b/src/containers/DefaultLayout/DefaultLayout.js index a706504..0d68086 100644 --- a/src/containers/DefaultLayout/DefaultLayout.js +++ b/src/containers/DefaultLayout/DefaultLayout.js @@ -250,11 +250,9 @@ class DefaultLayout extends Component { {localStorage.getItem('user_name')} - - - - - Profile + handleChangeLng("id")}>ID + handleChangeLng("en")}>EN + Profile this.signOut(e)}> Logout diff --git a/src/views/SimproV2/CreatedProyek/DIalogHierarchy.js b/src/views/SimproV2/CreatedProyek/DIalogHierarchy.js index 0ad927d..720c401 100644 --- a/src/views/SimproV2/CreatedProyek/DIalogHierarchy.js +++ b/src/views/SimproV2/CreatedProyek/DIalogHierarchy.js @@ -8,7 +8,6 @@ import SweetAlert from 'react-bootstrap-sweetalert'; import { HIERARCHY_FTTH_DELETE, HIERARCHY_FTTH_SEARCH, USER_LIST } from '../../../const/ApiConst'; import axios from "../../../const/interceptorApi" import { NotificationContainer, NotificationManager } from 'react-notifications'; -import DialogForm from './DialogFormHierarchy'; import DialogUserGantt from './DialogUserGantt'; const DialogHierarchy = ({ openDialog, closeDialog, toggleDialog, idTask, proyekName }) => { @@ -224,12 +223,6 @@ const DialogHierarchy = ({ openDialog, closeDialog, toggleDialog, idTask, proyek > Delete this data - { getDataUser(); NotificationManager.success(`Data resource berhasil diedit`, 'Success!!'); } else { - NotificationManager.error(`Data resource gagal di edit`, `Failed!!`); + NotificationManager.error(`${result.data.message}`, `Failed!!`); } }