diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2020-06-09 09:31:33 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2020-06-09 09:31:33 +0000 |
| commit | aa125072b329a7e2f3ce645d0f2666c9875bc484 (patch) | |
| tree | 6fd9bc179a41d0d6b822d6d1175955444226c020 /src/App.js | |
| parent | 951f25707a3e38d0585a55a4d18135c8b64c0d2a (diff) | |
| parent | 44db3af0db55454c537a26bf9ea3fc8e121c7e43 (diff) | |
Merge branch 'async-language-loading' into 'develop'
Messages: Load languages asynchronously.
See merge request pleroma/pleroma-fe!1136
Diffstat (limited to 'src/App.js')
| -rw-r--r-- | src/App.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -47,7 +47,8 @@ export default { }), created () { // Load the locale from the storage - this.$i18n.locale = this.$store.getters.mergedConfig.interfaceLanguage + const val = this.$store.getters.mergedConfig.interfaceLanguage + this.$store.dispatch('setOption', { name: 'interfaceLanguage', value: val }) window.addEventListener('resize', this.updateMobileState) }, destroyed () { |
