Commit 2e804a46 authored by NGPixel's avatar NGPixel

fix: tags page missing any locale translation

parent bf9c6dda
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment