mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
config: don't show redudant isrouting when templatetype is show to admin
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
f1ec81a250
commit
dffbe329b3
@ -102,7 +102,7 @@ export default {
|
||||
args: (record, store) => {
|
||||
var fields = ['name', 'displaytext', 'passwordenabled', 'ostypeid', 'isdynamicallyscalable']
|
||||
if (['Admin'].includes(store.userInfo.roletype)) {
|
||||
fields.push('isrouting', 'templatetype')
|
||||
fields.push('templatetype')
|
||||
}
|
||||
return fields
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user