5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-01-10 01:18:06 +03:00

ui: disable rate-limit for local sync jobs

Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Tested-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
Hannes Laimer 2023-11-29 10:56:58 +01:00 committed by Thomas Lamprecht
parent 00b6152cde
commit 6de99d3040

View File

@ -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);