mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-17 22:31:59 +01:00
Fix:Event sent when changing languages to rehydrate page
This commit is contained in:
1 parent
5983f0262f
commit
c93f17051a
1 file changed
+1
-1
@@ -78,7 +78,7 @@ async function loadi18n(code) {
|
||||
Vue.prototype.$setDateFnsLocale(languageCodeMap[code].dateFnsLocale)
|
||||
|
||||
console.log('i18n strings=', Vue.prototype.$strings)
|
||||
Vue.prototype.$eventBus.$emit('change-lang', code)
|
||||
this.$eventBus.$emit('change-lang', code)
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user