diff --git a/src/views/EditSidebar.vue b/src/views/EditSidebar.vue index cb851f583..e152299a7 100644 --- a/src/views/EditSidebar.vue +++ b/src/views/EditSidebar.vue @@ -466,11 +466,17 @@ export default { this.isModalOpen = true }, - updateLocation(url) { - this.calendarObjectInstance.location = url + updateLocation(location) { + this.calendarObjectInstanceStore.changeLocation({ + calendarObjectInstance: this.calendarObjectInstance, + location, + }) }, updateDescription(description) { - this.calendarObjectInstance.description = description + this.calendarObjectInstanceStore.changeDescription({ + calendarObjectInstance: this.calendarObjectInstance, + description, + }) }, closeModal() { this.isModalOpen = false