[pve-devel] [PATCH v2 widget-toolkit 1/1] disk list: allow wiping individual partitions
Fabian Ebner
f.ebner at proxmox.com
Wed Oct 6 11:18:47 CEST 2021
Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
No changes from v1.
src/panel/DiskList.js | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/panel/DiskList.js b/src/panel/DiskList.js
index 90a6553..eb8b1a8 100644
--- a/src/panel/DiskList.js
+++ b/src/panel/DiskList.js
@@ -399,14 +399,6 @@ Ext.define('Proxmox.DiskList', {
return `${mainMessage}<br><br>${additionalInfo}`;
},
disabled: true,
- enableFn: function(rec) {
- // TODO enable for partitions once they can be selected for ZFS,LVM,etc. creation
- if (!rec || rec.data.parent) {
- return false;
- } else {
- return true;
- }
- },
handler: 'wipeDisk',
});
}
--
2.30.2
More information about the pve-devel
mailing list