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 GitHub
parent 8bf42e79a0
commit 624b650138
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
};
}