mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-05 20:29:22 +01:00
Only refresh settings on extras connected if current SD source is extras
This commit is contained in:
parent
bce8627644
commit
5e970c8a51
@ -3160,7 +3160,9 @@ jQuery(async () => {
|
||||
}
|
||||
|
||||
eventSource.on(event_types.EXTRAS_CONNECTED, async () => {
|
||||
await loadSettingOptions();
|
||||
if (extension_settings.sd.source === sources.extras) {
|
||||
await loadSettingOptions();
|
||||
}
|
||||
});
|
||||
|
||||
eventSource.on(event_types.CHAT_CHANGED, onChatChanged);
|
||||
|
Loading…
x
Reference in New Issue
Block a user