[pbs-devel] [PATCH proxmox-backup v3 5/6] fix #3690: ui: enable wipe disk in StorageAndDisks
Markus Frank
m.frank at proxmox.com
Tue Nov 28 14:23:22 CET 2023
supportsWipeDisk: true -> enables the wipe button in the WebUI (same as
in pve)
The entry for override_task_descriptions is copied from pve-manager.
Signed-off-by: Markus Frank <m.frank at proxmox.com>
---
www/Utils.js | 1 +
www/panel/StorageAndDisks.js | 1 +
2 files changed, 2 insertions(+)
diff --git a/www/Utils.js b/www/Utils.js
index 8fbc6b23..7592d1bd 100644
--- a/www/Utils.js
+++ b/www/Utils.js
@@ -425,6 +425,7 @@ Ext.define('PBS.Utils', {
verify: ['Datastore', gettext('Verification')],
verify_group: ['Group', gettext('Verification')],
verify_snapshot: ['Snapshot', gettext('Verification')],
+ wipedisk: ['Device', gettext('Wipe Disk')],
zfscreate: [gettext('ZFS Storage'), gettext('Create')],
});
diff --git a/www/panel/StorageAndDisks.js b/www/panel/StorageAndDisks.js
index 7bd7042c..e9d7ed19 100644
--- a/www/panel/StorageAndDisks.js
+++ b/www/panel/StorageAndDisks.js
@@ -17,6 +17,7 @@ Ext.define('PBS.StorageAndDiskPanel', {
xtype: 'pmxDiskList',
title: gettext('Disks'),
includePartitions: true,
+ supportsWipeDisk: true,
itemId: 'disks',
iconCls: 'fa fa-hdd-o',
},
--
2.39.2
More information about the pbs-devel
mailing list