Adjust check for User.loggedOut to prevent errors
This commit is contained in:
parent
f6acb2cb60
commit
c763041285
@ -178,7 +178,7 @@ class Base extends Component {
|
||||
return (<MeetingEnded code="403" />);
|
||||
}
|
||||
|
||||
if ((meetingHasEnded || User.loggedOut) && meetingIsBreakout) {
|
||||
if ((meetingHasEnded || (User && User.loggedOut)) && meetingIsBreakout) {
|
||||
window.close();
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user