mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-08 10:32:50 +00:00
ui: restore: fix bandwidth limit behavior
by allowing zero and updating the field name. Otherwise the hint mentioning zero is wrong. Also, it's not only a read limit as the emptyText already indicates. Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
dcbc3b3ee9
commit
9ae4a024f0
@ -59,7 +59,8 @@ Ext.define('PVE.window.Restore', {
|
|||||||
xtype: 'pveBandwidthField',
|
xtype: 'pveBandwidthField',
|
||||||
name: 'bwlimit',
|
name: 'bwlimit',
|
||||||
backendUnit: 'KiB',
|
backendUnit: 'KiB',
|
||||||
fieldLabel: gettext('Read Limit'),
|
allowZero: true,
|
||||||
|
fieldLabel: gettext('Bandwidth Limit'),
|
||||||
emptyText: gettext('Defaults to target storage restore limit'),
|
emptyText: gettext('Defaults to target storage restore limit'),
|
||||||
autoEl: {
|
autoEl: {
|
||||||
tag: 'div',
|
tag: 'div',
|
||||||
|
Loading…
Reference in New Issue
Block a user