fix: show email in outlook (#5897)

* fix: change external id to owner address

Signed-off-by: Udit Takkar <[email protected]>

* feat: add email prop in calendar

Signed-off-by: Udit Takkar <[email protected]>

* fix: only display for outlook

Signed-off-by: Udit Takkar <[email protected]>

* fix: add email for apple calendar

Signed-off-by: Udit Takkar <[email protected]>

* fix: type error and use description

Signed-off-by: Udit Takkar <[email protected]>

* fix: try  using email from /me endpoint

Signed-off-by: Udit Takkar <[email protected]>

* fix: fallback to principal name when mail is not there

Signed-off-by: Udit Takkar <[email protected]>

* chore: use empty string for fallback

Signed-off-by: Udit Takkar <[email protected]>

Signed-off-by: Udit Takkar <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Joe Au-Yeung <[email protected]>
This commit is contained in:
authored and GitHub committed 2022-12-20 21:50:20 +00:00
1 parent 9487819ec1
commit 2d9064e92f
7 files changed
+17 -3

No files matched your search

+2
View File
@@ -178,6 +178,8 @@ export interface IntegrationCalendar extends Ensure<Partial<SelectedCalendar>, "
primary?: boolean;
name?: string;
readOnly?: boolean;
// For displaying the connected email address
email?: string;
}
export interface Calendar {