Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

Saúl Ibarra Corretgé64385d48e9ec
diff --git a/react/features/security/components/security-dialog/AbstractSecurityDialogButton.js b/react/features/security/components/security-dialog/AbstractSecurityDialogButton.js
index dee3f0484f..26ec695975 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)
};
}