fix: correct indentation in toggleMaxAccounts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Badri Narayanan S
2026-02-01 17:18:31 +05:30
parent a43d2332ca
commit ae2cdc0227

View File

@@ -290,7 +290,7 @@ window.Components.serverConfig = () => ({
}, window.AppConstants.INTERVALS.CONFIG_DEBOUNCE); }, window.AppConstants.INTERVALS.CONFIG_DEBOUNCE);
}, },
toggleMaxAccounts(value) { toggleMaxAccounts(value) {
const { MAX_ACCOUNTS_MIN, MAX_ACCOUNTS_MAX } = window.AppConstants.VALIDATION; const { MAX_ACCOUNTS_MIN, MAX_ACCOUNTS_MAX } = window.AppConstants.VALIDATION;
this.saveConfigField('maxAccounts', value, 'Max Accounts', this.saveConfigField('maxAccounts', value, 'Max Accounts',
(v) => window.Validators.validateRange(v, MAX_ACCOUNTS_MIN, MAX_ACCOUNTS_MAX, 'Max Accounts')); (v) => window.Validators.validateRange(v, MAX_ACCOUNTS_MIN, MAX_ACCOUNTS_MAX, 'Max Accounts'));