From 7d3c912919a12c636b510c51865f632dc07b4aa2 Mon Sep 17 00:00:00 2001 From: Teodor Stoynov Date: Tue, 9 Jul 2019 17:10:08 +0300 Subject: [PATCH] Added missing fix for issue #16 in App.vue --- src/popup/App.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/popup/App.vue b/src/popup/App.vue index 1ec0379c..ec2bcc15 100644 --- a/src/popup/App.vue +++ b/src/popup/App.vue @@ -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; }); },