Browse Source

Merge pull request 'Minor fix' (#5) from dev-wahyu into staging

Reviewed-on: ordo/adw-frontend#5
Reviewed-by: ibnu <ibnu@mail.com>
pull/2/head
ibnu 2 years ago
parent
commit
34c6ca375f
  1. 8
      src/containers/DefaultLayout/DefaultLayout.js
  2. 7
      src/views/SimproV2/CreatedProyek/DIalogHierarchy.js

8
src/containers/DefaultLayout/DefaultLayout.js

@ -250,11 +250,9 @@ class DefaultLayout extends Component {
<i className="nav-icon fa fa-user-circle"></i> {localStorage.getItem('user_name')}
</DropdownToggle>
<DropdownMenu right>
<DropdownItem>
<Button color="primary" outline size="sm" onClick={() => handleChangeLng("id")}>ID</Button>
<Button color="success" outline size="sm" onClick={() => handleChangeLng("en")}>EN</Button>
</DropdownItem>
<DropdownItem href="#/settings"><i class="fa fa-user"></i>Profile</DropdownItem>
<DropdownItem color="primary" size="sm" onClick={() => handleChangeLng("id")}>ID</DropdownItem>
<DropdownItem color="success" size="sm" onClick={() => handleChangeLng("en")}>EN</DropdownItem>
<DropdownItem href="#/settings"><i className="fa fa-user"></i>Profile</DropdownItem>
<DropdownItem onClick={e => this.signOut(e)}><i className="fa fa-sign-out"></i> Logout</DropdownItem>
</DropdownMenu>
</UncontrolledDropdown>

7
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
</SweetAlert>
<DialogForm
idTask={idTask}
openDialog={openDialogForm}
toggleDialog={toggleDialogForm}
closeDialog={closeDialogForm}
/>
<DialogUserGantt
idGantt={idGantt}

Loading…
Cancel
Save