mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-20 06:51:48 +01:00
Fix all little bugs
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user