Fix languages not updating in stored settings #67
This commit is contained in:
parent
ec29d46ef2
commit
947cc56ba4
@ -66,6 +66,9 @@ export function syncUserSettings() {
|
||||
|
||||
|
||||
const synced = { ...defaultSettings, ...parsedUserSettings }
|
||||
|
||||
// update avaliable languages
|
||||
synced.language.options = defaultSettings.language.options
|
||||
synced.version = import.meta.env.SAFETWITCH_TAG
|
||||
localStorage.setItem('settings', JSON.stringify(synced))
|
||||
console.log('Migrated!')
|
||||
|
Loading…
x
Reference in New Issue
Block a user