diff --git a/src/sunstone/public/app/tabs/vms-tab/panels/storage.js b/src/sunstone/public/app/tabs/vms-tab/panels/storage.js index 410a1fd332..7ee8db539d 100644 --- a/src/sunstone/public/app/tabs/vms-tab/panels/storage.js +++ b/src/sunstone/public/app/tabs/vms-tab/panels/storage.js @@ -423,11 +423,11 @@ define(function(require) { ' + Locale.tr("Save as") + '  '; } - if(!active){ - if (Config.isTabActionEnabled("vms-tab", "VM.disk_snapshot_revert")) { - html += '' + Locale.tr("Revert") + '  '; - } + if (Config.isTabActionEnabled("vms-tab", "VM.disk_snapshot_revert")) { + html += '' + Locale.tr("Revert") + '  '; + } + if(!active){ if (Config.isTabActionEnabled("vms-tab", "VM.disk_snapshot_delete")) { html += '' + Locale.tr("Delete") + ''; }