mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-08-08 11:04:26 +00: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: ['Datastore', gettext('Verification')],
|
||||||
verify_group: ['Group', gettext('Verification')],
|
verify_group: ['Group', gettext('Verification')],
|
||||||
verify_snapshot: ['Snapshot', gettext('Verification')],
|
verify_snapshot: ['Snapshot', gettext('Verification')],
|
||||||
|
wipedisk: ['Device', gettext('Wipe Disk')],
|
||||||
zfscreate: [gettext('ZFS Storage'), gettext('Create')],
|
zfscreate: [gettext('ZFS Storage'), gettext('Create')],
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ Ext.define('PBS.StorageAndDiskPanel', {
|
|||||||
xtype: 'pmxDiskList',
|
xtype: 'pmxDiskList',
|
||||||
title: gettext('Disks'),
|
title: gettext('Disks'),
|
||||||
includePartitions: true,
|
includePartitions: true,
|
||||||
|
supportsWipeDisk: true,
|
||||||
itemId: 'disks',
|
itemId: 'disks',
|
||||||
iconCls: 'fa fa-hdd-o',
|
iconCls: 'fa fa-hdd-o',
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user