fix some problems

This commit is contained in:
2020-12-17 17:37:26 +01:00
parent 7ae22fa5d2
commit b7b8076431
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -43,7 +43,7 @@
},
{
"title": "AdonisJs",
"color": "lime",
"color": "black",
"cover": "AdonisJs",
"slug": "adonisjs"
},