Commit 8de48dd3 authored by syadziy's avatar syadziy

update role

parent 58611953
......@@ -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