]> git.proxmox.com Git - pve-manager.git/blobdiff - www/manager6/window/SafeDestroyStorage.js
ui: guest import: add text for guest-is-running warning
[pve-manager.git] / www / manager6 / window / SafeDestroyStorage.js
index 62882f37b6fe47df93fc482f3c3710e845ba1904..660fd35e62e29106f85b7f2c26e1b2d4ccd0a7b7 100644 (file)
@@ -19,12 +19,20 @@ Ext.define('PVE.window.SafeDestroyStorage', {
                'data-qtip': gettext('Wipe labels and other left-overs'),
            },
        },
+       {
+           xtype: 'proxmoxcheckbox',
+           name: 'cleanupConfig',
+           reference: 'cleanupConfigCheckbox',
+           boxLabel: gettext('Cleanup Storage Configuration'),
+           checked: true,
+       },
     ],
 
     getParams: function() {
        let me = this;
 
        me.params['cleanup-disks'] = me.lookupReference('wipeDisksCheckbox').checked ? 1 : 0;
+       me.params['cleanup-config'] = me.lookupReference('cleanupConfigCheckbox').checked ? 1 : 0;
 
        return me.callParent();
     },