Show leave button and spinner while requesting to join call link
This commit is contained in:
parent
c18559b6da
commit
bd5134a7ce
7 changed files with 132 additions and 11 deletions
|
@ -67,7 +67,7 @@ const createProps = (overrideProps: Partial<PropsType> = {}): PropsType => {
|
|||
i18n,
|
||||
isAdhocAdminApprovalRequired:
|
||||
overrideProps.isAdhocAdminApprovalRequired ?? false,
|
||||
isAdhocJoinRequestPending: false,
|
||||
isAdhocJoinRequestPending: overrideProps.isAdhocJoinRequestPending ?? false,
|
||||
isConversationTooBigToRing: false,
|
||||
isCallFull: overrideProps.isCallFull ?? false,
|
||||
isSharingPhoneNumberWithEverybody:
|
||||
|
@ -237,3 +237,12 @@ export function CallLinkAdminApproval(): JSX.Element {
|
|||
});
|
||||
return <CallingLobby {...props} />;
|
||||
}
|
||||
|
||||
export function CallLinkJoinRequestPending(): JSX.Element {
|
||||
const props = createProps({
|
||||
callMode: CallMode.Adhoc,
|
||||
isAdhocAdminApprovalRequired: true,
|
||||
isAdhocJoinRequestPending: true,
|
||||
});
|
||||
return <CallingLobby {...props} />;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue