also remove end meeting from settings dropdown if direct leave button is enabled
This commit is contained in:
parent
f19aac1895
commit
2ac1e7cb97
@ -355,7 +355,7 @@ class SettingsDropdown extends PureComponent {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (allowedToEndMeeting && isMeteorConnected) {
|
if (allowedToEndMeeting && isMeteorConnected && !isDirectLeaveButtonEnabled) {
|
||||||
const customStyles = { background: colorDanger, color: colorWhite };
|
const customStyles = { background: colorDanger, color: colorWhite };
|
||||||
|
|
||||||
this.menuItems.push(
|
this.menuItems.push(
|
||||||
|
Loading…
Reference in New Issue
Block a user