Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(recordings): conditionally render learn more link in consent dialog (#16386)
Mihaela Dumitru5476321df6ec
diff --git a/react/features/recording/components/Recording/web/RecordingConsentDialog.tsx b/react/features/recording/components/Recording/web/RecordingConsentDialog.tsxindex 71eb88745c..883aa402e1 100644--- a/react/features/recording/components/Recording/web/RecordingConsentDialog.tsx+++ b/react/features/recording/components/Recording/web/RecordingConsentDialog.tsx@@ -18,7 +18,9 @@ export default function RecordingConsentDialog() {const dispatch = useDispatch();const { recordings } = useSelector((state: IReduxState) => state['features/base/config']);const { consentLearnMoreLink } = recordings ?? {};- const learnMore = ` (<a href="${consentLearnMoreLink}" target="_blank" rel="noopener noreferrer">${t('dialog.learnMore')}</a>)`;+ const learnMore = consentLearnMoreLink+ ? ` (<a href="${consentLearnMoreLink}" target="_blank" rel="noopener noreferrer">${t('dialog.learnMore')}</a>)`+ : '';useEffect(() => {APP.API.notifyRecordingConsentDialogOpen(true);