fix #32
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user