mirror of https://github.com/apache/cloudstack.git
change args visibility when editing a default role (#8322)
This commit is contained in:
parent
371ad9f55b
commit
22a4464c67
|
|
@ -53,7 +53,7 @@ export default {
|
|||
icon: 'edit-outlined',
|
||||
label: 'label.edit.role',
|
||||
dataView: true,
|
||||
args: ['name', 'description', 'type', 'ispublic'],
|
||||
args: (record) => record.isdefault ? ['ispublic'] : ['name', 'description', 'type', 'ispublic'],
|
||||
mapping: {
|
||||
type: {
|
||||
options: ['Admin', 'DomainAdmin', 'User']
|
||||
|
|
|
|||
Loading…
Reference in New Issue