fix: Connect selected calendar to credential (#11283)
release.yml / release (push) Canceled after 0s
release.yml / release (push) Canceled after 0s
* Reduce the unhandled promise * Connect selected calendar to credential * Write credential to selected calendar * Type fix * Handle catching promises in separate threads * Only call to list calendars if there are no credentialIds * Changed type of IntegrationCalendar from undef to null * Adding missing property to getting started * Also add calendars.tsx --------- Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
1 parent
1c1625d3fc
commit
3d4a3c7a93
9 files changed
+64
-40
No files matched your search
@@ -53,6 +53,7 @@ const ConnectedCalendarItem = (prop: IConnectedCalendarItem) => {
|
||||
<ul className="p-4">
|
||||
{calendars?.map((calendar, i) => (
|
||||
<CalendarSwitch
|
||||
credentialId={calendar.credentialId}
|
||||
key={calendar.externalId}
|
||||
externalId={calendar.externalId}
|
||||
title={calendar.name || "Nameless Calendar"}
|
||||
|
||||
Reference in new issue
Block a user