Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tia-dev
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dida Adams Arizona
Tia-dev
Commits
a88981d1
Commit
a88981d1
authored
Aug 17, 2020
by
d.arizona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
yee
parent
170864fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
EditUser.js
src/container/Otorisasi/User/EditUser.js
+2
-9
No files found.
src/container/Otorisasi/User/EditUser.js
View file @
a88981d1
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment