fix: tags page missing any locale translation

pull/1609/head
NGPixel 5 years ago
parent bf9c6dda1c
commit 2e804a467e

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

Loading…
Cancel
Save