Update saveSettings function to schedule another save when settings are not ready
| @@ -7076,7 +7076,8 @@ function selectKoboldGuiPreset() { | |||
| 7076 | 7076 | ||
| 7077 | export async function saveSettings(loopCounter = 0) { | 7077 | export async function saveSettings(loopCounter = 0) { |
| 7078 | if (!settingsReady) { | 7078 | if (!settingsReady) { |
| 7079 | console.warn('Settings not ready, aborting save'); | 7079 | console.warn('Settings not ready, scheduling another save'); |
| 7080 | saveSettingsDebounced(); | ||
| 7080 | return; | 7081 | return; |
| 7081 | } | 7082 | } |
| 7082 | 7083 | ||