From: Fabian Ebner Date: Wed, 6 Oct 2021 09:18:47 +0000 (+0200) Subject: disk list: allow wiping individual partitions X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;ds=sidebyside;h=7edda053eae454679e39beeebd0a3259be969887;p=proxmox-widget-toolkit.git disk list: allow wiping individual partitions Signed-off-by: Fabian Ebner --- 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}

${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', }); }