Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 84ea7a2b authored by Christoph Wurst's avatar Christoph Wurst Committed by GitHub
Browse files

Merge pull request #3930 from max65482/fix_apple_location_inconsistency

Fix: Inconsistencies due to Apple's additional location property
parents 01612ec7 302aa48b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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
	},