Double fix for o365/outlook buttons

This commit is contained in:
Alex van Andel 2021-07-28 12:28:36 +00:00
parent f6edd06f85
commit 18c96afc2b

View file

@ -159,14 +159,14 @@ export default function Success(props) {
"https://outlook.live.com/calendar/0/deeplink/compose?body=" +
props.eventType.description +
"&enddt=" +
date.add(props.eventType.length, "minute").format() +
date.add(props.eventType.length, "minute").utc().format() +
"&path=%2Fcalendar%2Faction%2Fcompose&rru=addevent&startdt=" +
date.format() +
date.utc().format() +
"&subject=" +
eventName
) + (location ? "&location=" + location : "")
}>
<a className="mx-2 btn-wide btn-white">
<a className="mx-2 btn-wide btn-white" target="_blank">
<svg
className="inline-block w-4 h-4 mr-1 -mt-1"
fill="currentColor"
@ -190,7 +190,7 @@ export default function Success(props) {
eventName
) + (location ? "&location=" + location : "")
}>
<a className="mx-2 btn-wide btn-white">
<a className="mx-2 btn-wide btn-white" target="_blank">
<svg
className="inline-block w-4 h-4 mr-1 -mt-1"
fill="currentColor"