Contact info modal for call link join requests
This commit is contained in:
parent
390eab2556
commit
84896d0fbb
19 changed files with 519 additions and 6 deletions
|
@ -36,6 +36,9 @@ export type PropsType = {
|
|||
// CallLinkEditModal
|
||||
callLinkEditModalRoomId: string | null;
|
||||
renderCallLinkEditModal: () => JSX.Element;
|
||||
// CallLinkPendingParticipantModal
|
||||
callLinkPendingParticipantContactId: string | undefined;
|
||||
renderCallLinkPendingParticipantModal: () => JSX.Element;
|
||||
// ConfirmLeaveCallModal
|
||||
confirmLeaveCallModalState: StartCallData | null;
|
||||
renderConfirmLeaveCallModal: () => JSX.Element;
|
||||
|
@ -118,6 +121,9 @@ export function GlobalModalContainer({
|
|||
// CallLinkEditModal
|
||||
callLinkEditModalRoomId,
|
||||
renderCallLinkEditModal,
|
||||
// CallLinkPendingParticipantModal
|
||||
callLinkPendingParticipantContactId,
|
||||
renderCallLinkPendingParticipantModal,
|
||||
// ConfirmLeaveCallModal
|
||||
confirmLeaveCallModalState,
|
||||
renderConfirmLeaveCallModal,
|
||||
|
@ -268,6 +274,12 @@ export function GlobalModalContainer({
|
|||
return renderContactModal();
|
||||
}
|
||||
|
||||
// This needs to be after the about contact modal because the pending participant modal
|
||||
// opens the about contact modal
|
||||
if (callLinkPendingParticipantContactId) {
|
||||
return renderCallLinkPendingParticipantModal();
|
||||
}
|
||||
|
||||
if (isStoriesSettingsVisible) {
|
||||
return renderStoriesSettings();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue