[pbs-devel] [PATCH proxmox-backup] ui: disable rate-limit for local sync jobs

Hannes Laimer h.laimer at proxmox.com
Wed Nov 29 10:56:58 CET 2023


Signed-off-by: Hannes Laimer <h.laimer at proxmox.com>
---
 www/window/SyncJobEdit.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/window/SyncJobEdit.js b/www/window/SyncJobEdit.js
index 58c8fb5c..c11103eb 100644
--- a/www/window/SyncJobEdit.js
+++ b/www/window/SyncJobEdit.js
@@ -178,6 +178,7 @@ Ext.define('PBS.window.SyncJobEdit', {
 				}
 
 				let isLocalSync = radio.location === 'local';
+				rateLimitField.setDisabled(isLocalSync);
 				remoteField.allowBlank = isLocalSync;
 				remoteField.setDisabled(isLocalSync);
 				storeField.setDisabled(!isLocalSync && !remoteField.value);
-- 
2.39.2





More information about the pbs-devel mailing list