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