fix: tags page missing any locale translation

This commit is contained in:
NGPixel 2020-03-15 19:33:21 -04:00
parent bf9c6dda1c
commit 2e804a467e

View File

@ -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) {