[pbs-devel] [PATCH proxmox-backup 4/4] ui: add 'keep configs' checkbox to datastore removal window
    Hannes Laimer 
    h.laimer at proxmox.com
       
    Mon Dec 19 15:13:26 CET 2022
    
    
  
... since the API already accepts a boolean for that.
Signed-off-by: Hannes Laimer <h.laimer at proxmox.com>
---
 www/datastore/OptionView.js | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/www/datastore/OptionView.js b/www/datastore/OptionView.js
index 448cd4b3..d20c5d8a 100644
--- a/www/datastore/OptionView.js
+++ b/www/datastore/OptionView.js
@@ -45,6 +45,11 @@ Ext.define('PBS.window.SafeDatastoreDestroy', {
 	bind: {
 	    value: '{destroyData}',
 	},
+    }, {
+	xtype: 'proxmoxcheckbox',
+	name: 'keep-job-configs',
+	boxLabel: gettext("Keep configured jobs and permissions"),
+	defaultValue: false,
     }, {
 	xtype: 'component',
 	reference: 'noteCmp',
-- 
2.30.2
    
    
More information about the pbs-devel
mailing list