mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
ref: change JitsiModal to better fit to needs
This commit is contained in:
committed by
Zoltan Bettenbuk
parent
84714ba3bd
commit
678ed605d7
@@ -213,6 +213,19 @@ class Conference extends AbstractConference<Props, *> {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Renders JitsiModals that are supposed to be on the conference screen.
|
||||
*
|
||||
* @returns {Array<ReactElement>}
|
||||
*/
|
||||
_renderConferenceModals() {
|
||||
return [
|
||||
<AddPeopleDialog key = 'addPeopleDialog' />,
|
||||
<Chat key = 'chat' />,
|
||||
<SharedDocument key = 'sharedDocument' />
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Renders the conference notification badge if the feature is enabled.
|
||||
*
|
||||
@@ -252,10 +265,6 @@ class Conference extends AbstractConference<Props, *> {
|
||||
|
||||
return (
|
||||
<>
|
||||
<AddPeopleDialog />
|
||||
<Chat />
|
||||
<SharedDocument />
|
||||
|
||||
{/*
|
||||
* The LargeVideo is the lowermost stacking layer.
|
||||
*/
|
||||
@@ -335,6 +344,8 @@ class Conference extends AbstractConference<Props, *> {
|
||||
<TestConnectionInfo />
|
||||
|
||||
{ this._renderConferenceNotification() }
|
||||
|
||||
{ this._renderConferenceModals() }
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user