Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
remove property X-APPLE-STRUCTURED-LOCATION upon location update
Signed-off-by: Maximilian Martin <[email protected]>
  • Loading branch information
max65482 committed Feb 3, 2022
commit 302aa48bc347e4fb2b069ce7132c1fc9dcf5a4d2
3 changes: 3 additions & 0 deletions src/store/calendarObjectInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ const mutations = {
* @param {string} data.location New location to set
*/
changeLocation(state, { calendarObjectInstance, location }) {
// Special case: delete Apple-specific location property to avoid inconsistencies
calendarObjectInstance.eventComponent.deleteAllProperties('X-APPLE-STRUCTURED-LOCATION')

calendarObjectInstance.eventComponent.location = location
calendarObjectInstance.location = location
},
Expand Down