diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js index 09dfc1aaa47..2971be90c50 100644 --- a/ui/scripts/storage.js +++ b/ui/scripts/storage.js @@ -1495,12 +1495,10 @@ } } else { // Disk not attached + allowedActions.push("destroy"); allowedActions.push("migrateToAnotherStorage"); if (jsonObj.storagetype == "shared") { allowedActions.push("attachDisk"); - if(jsonObj.vmname == null || jsonObj.vmname == "none") { - allowedActions.push("destroy"); - } } } }