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
8de48dd3
Commit
8de48dd3
authored
Jul 15, 2022
by
syadziy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update role
parent
58611953
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
EditRole.js
src/container/Authorization/UserRole/EditRole.js
+12
-12
No files found.
src/container/Authorization/UserRole/EditRole.js
View file @
8de48dd3
...
...
@@ -140,18 +140,18 @@ export default class EditRole extends Component {
// let startDate = format(this.state.tempData.start_date, 'yyyy-MM-dd')
// let endDate = format(this.state.tempData.end_date, 'yyyy-MM-dd')
let
privileges
=
this
.
state
.
privileges
privileges
.
push
({
menu_id
:
23
,
button_id
:
[
1
,
2
,
3
,
4
,
5
]
})
privileges
.
push
({
menu_id
:
24
,
button_id
:
[
1
,
2
,
3
,
4
,
5
]
})
privileges
.
push
({
menu_id
:
25
,
button_id
:
[
1
,
2
,
3
,
4
,
5
]
})
//
privileges.push({
//
menu_id: 23,
//
button_id: [1,2,3,4,5]
//
})
//
privileges.push({
//
menu_id: 24,
//
button_id: [1,2,3,4,5]
//
})
//
privileges.push({
//
menu_id: 25,
//
button_id: [1,2,3,4,5]
//
})
let
payload
=
{
"role_id"
:
this
.
state
.
tempData
.
role_id
,
"role_name"
:
this
.
state
.
tempData
.
role_name
,
...
...
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