mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7779: UI > volume action filter, snapshot action filter > extend scope from local to global.
This commit is contained in:
parent
32dc09f2c3
commit
1f7ae13e44
|
|
@ -2002,7 +2002,7 @@
|
|||
};
|
||||
|
||||
|
||||
var volumeActionfilter = function(args) {
|
||||
var volumeActionfilter = cloudStack.sections.storage.sections.volumes.volumeActionfilter = function(args) {
|
||||
var jsonObj = args.context.item;
|
||||
var allowedActions = [];
|
||||
|
||||
|
|
@ -2069,7 +2069,7 @@
|
|||
return allowedActions;
|
||||
};
|
||||
|
||||
var snapshotActionfilter = function(args) {
|
||||
var snapshotActionfilter = cloudStack.sections.storage.sections.snapshots.snapshotActionfilter = function(args) {
|
||||
var jsonObj = args.context.item;
|
||||
|
||||
if (jsonObj.state == 'Destroyed') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue