mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Update saveSettings function to schedule another save when settings are not ready
This commit is contained in:
@@ -7076,7 +7076,8 @@ function selectKoboldGuiPreset() {
|
|||||||
|
|
||||||
export async function saveSettings(loopCounter = 0) {
|
export async function saveSettings(loopCounter = 0) {
|
||||||
if (!settingsReady) {
|
if (!settingsReady) {
|
||||||
console.warn('Settings not ready, aborting save');
|
console.warn('Settings not ready, scheduling another save');
|
||||||
|
saveSettingsDebounced();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user