Fix and remove snowmachine

This commit is contained in:
Chris Blanchard 2015-12-24 20:16:46 +00:00
parent 97d03ba464
commit ea3c347255

View file

@ -68,7 +68,9 @@ var App = React.createClass({
this.updateTitle(); this.updateTitle();
socket.on('stateChange', {state} => { socket.on('stateChange', data => {
let state = data.state;
if (state.from === 'gathering' if (state.from === 'gathering'
&& state.to === 'election' && state.to === 'election'
&& this.thisGatherer()) { && this.thisGatherer()) {
@ -165,9 +167,6 @@ var App = React.createClass({
</ul> </ul>
</li> </li>
</ul> </ul>
<ul className="nav navbar-top-links navbar-right">
<SnowMachineMenu />
</ul>
</nav> </nav>
<AdminPanel /> <AdminPanel />
<SettingsPanel <SettingsPanel