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…
Reference in New Issue