Skip to content

Commit

Permalink
fix language select settings can not save issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
fuyoo committed Jul 15, 2024
1 parent 2198dab commit ff2623b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/SettingsView/LangSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ watch(() => lng.value,async (r)=>{
await i18next.changeLanguage(r)
try {
data.lang = r
database.settings.add(data,1)
database.settings.put(data,1)
} catch (e) {
console.log(e)
}
Expand Down

0 comments on commit ff2623b

Please sign in to comment.