[pve-devel] [PATCH manager 3/3] ui: restore: fix bandwidth limit behavior
Fabian Ebner
f.ebner at proxmox.com
Mon Mar 15 12:57:29 CET 2021
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 at proxmox.com>
---
www/manager6/window/Restore.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/www/manager6/window/Restore.js b/www/manager6/window/Restore.js
index d220c7bf..9e47ebd6 100644
--- a/www/manager6/window/Restore.js
+++ b/www/manager6/window/Restore.js
@@ -59,7 +59,8 @@ Ext.define('PVE.window.Restore', {
xtype: 'pveBandwidthField',
name: 'bwlimit',
backendUnit: 'KiB',
- fieldLabel: gettext('Read Limit'),
+ allowZero: true,
+ fieldLabel: gettext('Bandwidth Limit'),
emptyText: gettext('Defaults to target storage restore limit'),
autoEl: {
tag: 'div',
--
2.20.1
More information about the pve-devel
mailing list