fix(security) hide button if the enabled flag is set to false
This commit is contained in:
parent
5d8c87eb76
commit
64385d48e9
|
@ -92,6 +92,6 @@ export function _mapStateToProps(state: Object) {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
_locked: locked || lobbyEnabled,
|
_locked: locked || lobbyEnabled,
|
||||||
visible: enabledFlag || (enabledLobbyModeFlag || enabledMeetingPassFlag)
|
visible: enabledFlag && (enabledLobbyModeFlag || enabledMeetingPassFlag)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue