mirror of https://github.com/apache/cloudstack.git
CS-15863: cloudstack 3.0 UI - autoscale - LB listing - VM listing - hide delete button based on vm displayname instead of vm name (Reviewed-by: Brian)
This commit is contained in:
parent
1bd532d13b
commit
b32816bc95
|
|
@ -2627,7 +2627,7 @@
|
|||
data.listloadbalancerruleinstancesresponse.loadbalancerruleinstance : [];
|
||||
|
||||
$(lbInstances).each(function() {
|
||||
if(this.name.indexOf('AutoScale-LB-') > -1) //autoscale VM is not allowed to be deleted manually. So, hide destroy button
|
||||
if(this.displayname.indexOf('AutoScale-LB-') > -1) //autoscale VM is not allowed to be deleted manually. So, hide destroy button
|
||||
this._hideActions = ['destroy'];
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue