From 64385d48e9ec0279ff3a9f93ca9846b14f3321a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 12 Apr 2022 09:22:36 +0200 Subject: [PATCH] fix(security) hide button if the enabled flag is set to false --- .../components/security-dialog/AbstractSecurityDialogButton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/security/components/security-dialog/AbstractSecurityDialogButton.js b/react/features/security/components/security-dialog/AbstractSecurityDialogButton.js index dee3f0484..26ec69597 100644 --- a/react/features/security/components/security-dialog/AbstractSecurityDialogButton.js +++ b/react/features/security/components/security-dialog/AbstractSecurityDialogButton.js @@ -92,6 +92,6 @@ export function _mapStateToProps(state: Object) { return { _locked: locked || lobbyEnabled, - visible: enabledFlag || (enabledLobbyModeFlag || enabledMeetingPassFlag) + visible: enabledFlag && (enabledLobbyModeFlag || enabledMeetingPassFlag) }; }