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