fix(security) hide button if the enabled flag is set to false

This commit is contained in:
Saúl Ibarra Corretgé 2022-04-12 09:22:36 +02:00 committed by Saúl Ibarra Corretgé
parent 5d8c87eb76
commit 64385d48e9
1 changed files with 1 additions and 1 deletions

View File

@ -92,6 +92,6 @@ export function _mapStateToProps(state: Object) {
return {
_locked: locked || lobbyEnabled,
visible: enabledFlag || (enabledLobbyModeFlag || enabledMeetingPassFlag)
visible: enabledFlag && (enabledLobbyModeFlag || enabledMeetingPassFlag)
};
}