fix: hide orgnizer email in cal video sidebar (#21011)

This commit is contained in:
Anik Dhabal Babu authored and GitHub committed 2025-04-28 16:34:32 +00:00
1 parent ffb36509ff
commit 1b04fe82a7
2 files changed
+11 -2

No files matched your search

@@ -225,8 +225,12 @@ export function VideoMeetingInfo(props: VideoMeetingInfo) {
<h3>{t("who")}:</h3>
<p>
{booking?.user?.name} - {t("organizer")}:{" "}
<a href={`mailto:${booking?.user?.email}`}>{booking?.user?.email}</a>
{booking?.user?.name} - {t("organizer")}
{!booking?.eventType?.hideOrganizerEmail && (
<>
: <a href={`mailto:${booking?.user?.email}`}>{booking?.user?.email}</a>
</>
)}
</p>
{booking.attendees.length