From 5d4626ee5eb82c92f62d3a68b8a9fa6c98c47c20 Mon Sep 17 00:00:00 2001 From: lesion Date: Wed, 22 Jun 2022 17:51:56 +0200 Subject: [PATCH] minor --- pages/add/_edit.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/add/_edit.vue b/pages/add/_edit.vue index f6657b46..563d76d2 100644 --- a/pages/add/_edit.vue +++ b/pages/add/_edit.vue @@ -64,7 +64,7 @@ v-card-actions v-spacer - v-btn(@click='done' :loading='loading' :disabled='!valid || loading' + v-btn(@click='done' :loading='loading' :disabled='!valid || loading' outlined color='primary') {{edit?$t('common.save'):$t('common.send')}} @@ -173,7 +173,7 @@ export default { }, 100), eventImported (event) { this.event = Object.assign(this.event, event) - this.$refs.where.selectPlace({ name: event.place.name, create: true }) + this.$refs.where.selectPlace({ name: event.place.name || event.place, create: true }) this.date = { recurrent: this.event.recurrent || null, from: new Date(dayjs.unix(this.event.start_datetime)),