minor
This commit is contained in:
parent
09d75aad6c
commit
acc1d1d4d0
4 changed files with 8 additions and 8 deletions
|
@ -11,4 +11,4 @@ export default async (context, locale) => {
|
|||
}
|
||||
|
||||
return localeMessages
|
||||
}
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@ v-container#event.h-event.pa-2.pa-sm-2(v-touch="{ left: goNext, right: goPrev }"
|
|||
v-icon(v-text='mdiCodeTags')
|
||||
v-list-item-content
|
||||
v-list-item-title(v-text="$t('common.embed')")
|
||||
|
||||
|
||||
//- calendar
|
||||
v-list-item(:href='`/api/event/detail/${event.slug || event.id}.ics`')
|
||||
v-list-item-icon
|
||||
|
@ -175,9 +175,9 @@ v-container#event.h-event.pa-2.pa-sm-2(v-touch="{ left: goNext, right: goPrev }"
|
|||
|
||||
v-dialog(v-model='showEmbed' width='700px' :fullscreen='$vuetify.breakpoint.xsOnly')
|
||||
EmbedEvent(:event='event' @close='showEmbed=false')
|
||||
|
||||
|
||||
v-dialog(v-show='settings.allow_geolocation && event.place.latitude && event.place.longitude' v-model='mapModal' :fullscreen='$vuetify.breakpoint.xsOnly' destroy-on-close)
|
||||
EventMapDialog(:place='event.place' @close='mapModal=false')
|
||||
EventMapDialog(:place='event.place' @close='mapModal=false')
|
||||
|
||||
</template>
|
||||
<script>
|
||||
|
|
|
@ -62,4 +62,4 @@ export default {
|
|||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
|
|
@ -131,11 +131,11 @@ const collectionController = {
|
|||
const collectionId = req.params.collection_id
|
||||
const filters = await Filter.findAll({ where: { collectionId } })
|
||||
return res.json(filters)
|
||||
},
|
||||
},
|
||||
|
||||
async addFilter (req, res) {
|
||||
const { collectionId, tags, places } = req.body
|
||||
|
||||
|
||||
try {
|
||||
filter = await Filter.create({ collectionId, tags, places })
|
||||
return res.json(filter)
|
||||
|
@ -165,4 +165,4 @@ const collectionController = {
|
|||
|
||||
}
|
||||
|
||||
module.exports = collectionController
|
||||
module.exports = collectionController
|
||||
|
|
Loading…
Reference in a new issue