diff --git a/bigbluebutton-html5/imports/startup/client/base.jsx b/bigbluebutton-html5/imports/startup/client/base.jsx index 91ac5b3e70..2c8df7178c 100755 --- a/bigbluebutton-html5/imports/startup/client/base.jsx +++ b/bigbluebutton-html5/imports/startup/client/base.jsx @@ -33,7 +33,7 @@ const propTypes = { const defaultProps = { locale: undefined, - approved: undefined, + approved: false, meetingExist: false, subscriptionsReady: false, }; @@ -227,7 +227,7 @@ const BaseContainer = withTracker(() => { if (meetingEnded) Session.set('codeError', '410'); } - const approved = Users.findOne({ userId: Auth.userID, approved: true, guest: true }); + const approved = !!Users.findOne({ userId: Auth.userID, approved: true, guest: true }); const ejected = Users.findOne({ userId: Auth.userID, ejected: true }); if (Session.get('codeError')) { return {