mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 05:12:57 -05:00
Fix languages not updating in stored settings #67
This commit is contained in:
parent
ec29d46ef2
commit
947cc56ba4
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue