Skip to content

Commit

Permalink
fix: location and description not being saved
Browse files Browse the repository at this point in the history
Signed-off-by: greta <[email protected]>
  • Loading branch information
GretaD committed Jan 16, 2025
1 parent e2f3ad0 commit 5348612
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/views/EditSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5348612

Please sign in to comment.