fix watch
This commit is contained in:
parent
c9b7c37e2c
commit
201a1989d9
1 changed files with 8 additions and 6 deletions
|
@ -104,6 +104,8 @@ var App = React.createClass({
|
||||||
var mainContent = this.getMainContent();
|
var mainContent = this.getMainContent();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
this.state.viewingPage == 'watch' ?
|
||||||
|
mainContent :
|
||||||
<div id="window" className={ this.state.drawerOpen ? 'drawer-open' : 'drawer-closed' }>
|
<div id="window" className={ this.state.drawerOpen ? 'drawer-open' : 'drawer-closed' }>
|
||||||
<Drawer onCloseDrawer={this.closeDrawer} viewingPage={this.state.viewingPage} />
|
<Drawer onCloseDrawer={this.closeDrawer} viewingPage={this.state.viewingPage} />
|
||||||
<div id="main-content">
|
<div id="main-content">
|
||||||
|
|
Loading…
Reference in a new issue