fix: tags page missing any locale translation
This commit is contained in:
parent
bf9c6dda1c
commit
2e804a467e
@ -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…
Reference in New Issue
Block a user