You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ui/scripts/accounts.js
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -642,12 +642,16 @@
642
642
},
643
643
vmLimit: {
644
644
label: 'label.instance.limits',
645
-
isEditable: function(context){
645
+
isEditable: function(context){
646
+
647
+
if(context.accounts==undefined)
648
+
returnfalse;
649
+
else{
646
650
if(context.accounts[0].accounttype==roleTypeUser||context.accounts[0].accounttype==roleTypeDomainAdmin)//updateResourceLimits is only allowed on account whose type is user or domain-admin
0 commit comments