Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mradkov committed Jul 9, 2019
2 parents 9b52123 + b6dbfcf commit 91df858
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/popup/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@ export default {
},
switchLanguage(languageChoose) {
browser.storage.sync.set({language: languageChoose}).then(() => {
this.language = locales[languageChoose];
let defLang = Object.assign({}, locales['en']);
this.language = Object.assign(defLang, locales[languageChoose]);
this.current.language = languageChoose;
});
},
Expand Down

0 comments on commit 91df858

Please sign in to comment.