Commit 8bde7f1c authored by Arfin Syadziy's avatar Arfin Syadziy

Merge branch 'dev/arfin' into 'ENV-DEV-CR-CAFRM'

update role

See merge request !1597
parents 58611953 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,
......
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