From 2e804a467e4c5d0618fb660f49c84323ec139e2e Mon Sep 17 00:00:00 2001 From: NGPixel Date: Sun, 15 Mar 2020 19:33:21 -0400 Subject: [PATCH] fix: tags page missing any locale translation --- client/components/tags.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/components/tags.vue b/client/components/tags.vue index fa3439bf..86b4d324 100644 --- a/client/components/tags.vue +++ b/client/components/tags.vue @@ -245,13 +245,13 @@ export default { router, created () { this.$store.commit('page/SET_MODE', 'tags') - + this.selection = _.compact(this.$route.path.split('/')) + }, + mounted () { this.locales = _.concat( [{name: this.$t('tags:localeAny'), code: 'any'}], (siteLangs.length > 0 ? siteLangs : []) ) - - this.selection = _.compact(this.$route.path.split('/')) }, methods: { toggleTag (tag) {