Fix all little bugs

This commit is contained in:
2020-12-16 15:17:24 +01:00
parent 0ca62a1923
commit 40510d69a5
11 changed files with 148 additions and 35 deletions

View File

@@ -121,7 +121,9 @@ export default {
},
async changeLanguage(lang) {
this.$i18n.setLocale(lang)
await this.$router.push('/')
if (this.$router.currentRoute.fullPath.includes('blog')) {
await this.$nuxt.refresh()
}
},
},
mounted() {