Commit a88981d1 authored by d.arizona's avatar d.arizona

yee

parent 170864fe
......@@ -182,14 +182,7 @@ export default class EditUser extends Component {
getPerusahaan() {
api.create().getPerusahaanHierarki().then((response) => {
if (response.data.status === 'success') {
let listCompany = response.data.data.map((item,index) => {
return {
...item,
index,
collapse: false
}
})
this.setState({ listCompany }, () => console.log(listCompany))
this.setState({ listCompany: response.data.data })
// console.log(response.data.data)
}
})
......@@ -408,7 +401,7 @@ export default class EditUser extends Component {
/>
</div>
</div>
<div className="column-2">
<div className="margin-bottom-20px">
<DatePicker
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment