[pve-devel] [PATCH manager 1/2] ui: backup restore: use new bandwith limit component

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Dec 3 10:51:09 CET 2019


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 www/manager6/window/Restore.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/www/manager6/window/Restore.js b/www/manager6/window/Restore.js
index 870b0dde..4eaf25f6 100644
--- a/www/manager6/window/Restore.js
+++ b/www/manager6/window/Restore.js
@@ -52,10 +52,9 @@ Ext.define('PVE.window.Restore', {
 	    storagesel,
 	    IDfield,
 	    {
-		xtype: 'proxmoxintegerfield',
+		xtype: 'pveBandwidthField',
 		name: 'bwlimit',
-		fieldLabel: gettext('Read Limit (MiB/s)'),
-		minValue: 0,
+		fieldLabel: gettext('Read Limit'),
 		emptyText: gettext('Defaults to target storage restore limit'),
 		autoEl: {
 		    tag: 'div',
-- 
2.20.1





More information about the pve-devel mailing list