mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-03-09 08:58:28 +03:00
fix #3690: ui: enable wipe-disk feature in system disk view
Set `supportsWipeDisk` to true to enables the wipe button in the web UI. The entry for override_task_descriptions is copied from pve-manager. Signed-off-by: Markus Frank <m.frank@proxmox.com> Reviewed-by: Lukas Wagner <l.wagner@proxmox.com> Tested-by: Lukas Wagner <l.wagner@proxmox.com> Reviewed-by: Max Carrara <m.carrara@proxmox.com> Tested-by: Max Carrara <m.carrara@proxmox.com>
This commit is contained in:
parent
675d5740fc
commit
e0dfdd143c
@ -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')],
|
||||
});
|
||||
|
||||
|
@ -17,6 +17,7 @@ Ext.define('PBS.StorageAndDiskPanel', {
|
||||
xtype: 'pmxDiskList',
|
||||
title: gettext('Disks'),
|
||||
includePartitions: true,
|
||||
supportsWipeDisk: true,
|
||||
itemId: 'disks',
|
||||
iconCls: 'fa fa-hdd-o',
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user