places and tags are always taken server side
This commit is contained in:
@@ -72,10 +72,6 @@ export default {
|
|||||||
name: 'Exports',
|
name: 'Exports',
|
||||||
components: { List, FollowMe },
|
components: { List, FollowMe },
|
||||||
async asyncData ({ $axios, params, store }) {
|
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 () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user