From 2c27208a8a3cb0b3788eaf082739de6be73cb332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ram=C3=B3n=20Souza?= Date: Fri, 10 May 2024 15:38:26 -0300 Subject: [PATCH] optional chaining isModerator --- .../ui/components/user-list/user-list-content/container.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/container.jsx b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/container.jsx index f4915d1d67..a7f845363d 100644 --- a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/container.jsx +++ b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/container.jsx @@ -26,7 +26,7 @@ const UserContentContainer = (props) => { {...{ isGuestLobbyMessageEnabled, currentUser, - isTimerActive: currentMeeting?.componentsFlags?.hasTimer && currentUser.isModerator, + isTimerActive: currentMeeting?.componentsFlags?.hasTimer && currentUser?.isModerator, ...props, }} />