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(PasswordSection): Add button not working.

Hristo Terezov2734da0c66db
diff --git a/react/features/security/components/security-dialog/web/PasswordSection.tsx b/react/features/security/components/security-dialog/web/PasswordSection.tsx
index 99d19eae04..f6e88a3101 100644
--- a/react/features/security/components/security-dialog/web/PasswordSection.tsx
+++ b/react/features/security/components/security-dialog/web/PasswordSection.tsx
@@ -118,7 +118,7 @@ function PasswordSection({
);
}
- if (notifyMode === NOTIFY_CLICK_MODE.ONLY_NOTIFY) {
+ if (!notifyMode || notifyMode === NOTIFY_CLICK_MODE.ONLY_NOTIFY) {
setPasswordEditEnabled(!passwordEditEnabled);
}
}, [ buttonsWithNotifyClick, setPasswordEditEnabled, passwordEditEnabled ]);