diff --git a/src/Components/Facility/DoctorVideoSlideover.tsx b/src/Components/Facility/DoctorVideoSlideover.tsx index 1ce12f9a6a7..50c37b5c8a3 100644 --- a/src/Components/Facility/DoctorVideoSlideover.tsx +++ b/src/Components/Facility/DoctorVideoSlideover.tsx @@ -244,11 +244,12 @@ function UserListItem(props: { user: UserAssignedModel; facilityId: string }) { + onClick={async (e) => { + e.stopPropagation(); await navigator.clipboard.writeText( user?.alt_phone_number || "", - ) - } + ); + }} > @@ -280,7 +281,8 @@ function DoctorConnectButtons(props: { {user.video_connect_link && ( { + onClick={(e) => { + e.stopPropagation(); triggerGoal("Doctor Connect Click", { medium: "Video Call", userId: authUser.id, @@ -306,7 +308,8 @@ function DoctorConnectButtons(props: { { + onClick={(e) => { + e.stopPropagation(); triggerGoal("Doctor Connect Click", { medium: "Phone Call", userId: authUser.id,