[pbs-devel] [PATCH proxmox-backup 20/26] ui: add "removable" checkbox to datastore edit
Hannes Laimer
h.laimer at proxmox.com
Tue Jul 5 15:08:28 CEST 2022
Signed-off-by: Hannes Laimer <h.laimer at proxmox.com>
---
www/window/DataStoreEdit.js | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/www/window/DataStoreEdit.js b/www/window/DataStoreEdit.js
index aecf6b8d..13ce741b 100644
--- a/www/window/DataStoreEdit.js
+++ b/www/window/DataStoreEdit.js
@@ -59,6 +59,16 @@ Ext.define('PBS.DataStoreEdit', {
fieldLabel: gettext('Backing Path'),
emptyText: gettext('An absolute path'),
},
+ {
+ xtype: 'proxmoxcheckbox',
+ cbind: {
+ editable: '{isCreate}',
+ },
+ name: 'removable',
+ uncheckedValue: 0,
+ defaultValue: 0,
+ fieldLabel: gettext('Removable'),
+ },
],
column2: [
{
--
2.30.2
More information about the pbs-devel
mailing list