Skip to content

Commit 7312857

Browse files
Fix: prevent event bubbling when clicking Join button in Outlook calendar events (#39356)
1 parent 59cf21e commit 7312857

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

apps/meteor/client/views/outlookCalendar/OutlookEventsList/OutlookEventItem.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,13 @@ const OutlookEventItem = ({ subject, description, startTime, meetingUrl }: Outlo
5757
</Box>
5858
<Box>
5959
{meetingUrl && (
60-
<Button onClick={openCall} small>
60+
<Button
61+
small
62+
onClick={(e) => {
63+
e.stopPropagation();
64+
openCall();
65+
}}
66+
>
6167
{t('Join')}
6268
</Button>
6369
)}

0 commit comments

Comments
 (0)