diff --git a/web/src/lib/state/settings.ts b/web/src/lib/state/settings.ts index 2bb6702e..76a87105 100644 --- a/web/src/lib/state/settings.ts +++ b/web/src/lib/state/settings.ts @@ -77,7 +77,7 @@ const loadFromStorage = () => { export const loadFromString = (settings: string): PartialSettings => { const parsed = JSON.parse(settings) as AllPartialSettingsWithSchema; if (parsed.schemaVersion < defaultSettings.schemaVersion) { - return migrate(parsed); + return writeToStorage(migrate(parsed)); } return parsed as PartialSettings;