From 5348612ffae9196963b495b9c71007489c29f685 Mon Sep 17 00:00:00 2001 From: greta Date: Thu, 16 Jan 2025 16:10:54 +0100 Subject: [PATCH] fix: location and description not being saved Signed-off-by: greta --- src/views/EditSidebar.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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