Prevent breakout dropdown when theres no breakout

This commit is contained in:
Oswaldo Acauan 2017-04-26 11:55:49 -03:00 committed by GitHub
parent c2b6f48b87
commit 4e29024783

View File

@ -115,7 +115,7 @@ class NavBar extends Component {
presentationTitle, presentationTitle,
} = this.props; } = this.props;
if (isBreakoutRoom) { if (isBreakoutRoom || breakouts.length === 0) {
return ( return (
<h1 className={styles.presentationTitle}>{presentationTitle}</h1> <h1 className={styles.presentationTitle}>{presentationTitle}</h1>
); );