This commit is contained in:
les
2019-09-25 21:14:33 +02:00
parent 88c33e40f4
commit ae6a892f39
4 changed files with 37 additions and 17 deletions

View File

@@ -71,6 +71,12 @@ export default {
title: `${this.settings.title} - ${this.$t('common.export')}`
}
},
async asyncData ({ $axios, params, store }) {
// get metadata just in case we are not coming from home
if (store.state.tags.length) return
const { tags, places } = await $axios.$get('/event/meta')
store.commit('update', { tags, places })
},
data () {
return {
type: 'rss',