Signed-off-by: Aaron Lauterer <a.laute...@proxmox.com> --- www/manager6/qemu/HardwareView.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/www/manager6/qemu/HardwareView.js b/www/manager6/qemu/HardwareView.js index 51c77246..fa72d9d3 100644 --- a/www/manager6/qemu/HardwareView.js +++ b/www/manager6/qemu/HardwareView.js @@ -593,7 +593,9 @@ Ext.define('PVE.qemu.HardwareView', { var isEfi = key === 'efidisk0'; - remove_btn.setDisabled(rec.data.delete || rowdef.never_delete === true || (isUnusedDisk && !diskCap)); + remove_btn.setDisabled(rec.data.delete || + rowdef.never_delete === true || + (isUnusedDisk && !diskCap)); remove_btn.setText(isUsedDisk && !isCloudInit ? remove_btn.altText : remove_btn.defaultText); remove_btn.RESTMethod = isUnusedDisk ? 'POST':'PUT'; -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel