Signed-off-by: Fabian Ebner <f.eb...@proxmox.com>
---
 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



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to