ui: untrack settings sync in props effect to prevent reactive loop (#23127)
Some checks are pending
Check Pre-Tokenizer Hashes / pre-tokenizer-hashes (push) Waiting to run
Python check requirements.txt / check-requirements (push) Waiting to run
Python Type-Check / python type-check (push) Waiting to run

This commit is contained in:
Pascal 2026-05-16 11:25:34 +02:00 committed by GitHub
parent 1d9f99aa75
commit 366c5e2a3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -153,7 +153,9 @@
const serverProps = serverStore.props;
if (serverProps) {
settingsStore.syncWithServerDefaults();
untrack(() => {
settingsStore.syncWithServerDefaults();
});
}
});