Browse Source

fix: tags page missing any locale translation

pull/1609/head
NGPixel 4 years ago
parent
commit
2e804a467e
1 changed files with 3 additions and 3 deletions
  1. 6
      client/components/tags.vue

6
client/components/tags.vue

@ -245,13 +245,13 @@ export default {
router, router,
created () { created () {
this.$store.commit('page/SET_MODE', 'tags') this.$store.commit('page/SET_MODE', 'tags')
this.selection = _.compact(this.$route.path.split('/'))
},
mounted () {
this.locales = _.concat( this.locales = _.concat(
[{name: this.$t('tags:localeAny'), code: 'any'}], [{name: this.$t('tags:localeAny'), code: 'any'}],
(siteLangs.length > 0 ? siteLangs : []) (siteLangs.length > 0 ? siteLangs : [])
) )
this.selection = _.compact(this.$route.path.split('/'))
}, },
methods: { methods: {
toggleTag (tag) { toggleTag (tag) {

Loading…
Cancel
Save