mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-11-10 07:11:53 +00:00
Fix and remove snowmachine
This commit is contained in:
parent
97d03ba464
commit
ea3c347255
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue