This commit is contained in:
les
2021-02-09 12:13:38 +01:00
parent 05b76d94a5
commit c75eb19f05
3 changed files with 13 additions and 15 deletions

View File

@@ -74,8 +74,9 @@ export default {
try {
const ret = await this.$axios.$get('/event/import', { params: { URL: this.URL } })
this.events = ret
// check if contain an h-event
// this.$emit('imported', ret)
this.$emit('imported', ret[0])
} catch (e) {
console.error(e)
this.error = true