mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2025-02-21 03:01:03 +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();
|
||||
|
||||
socket.on('stateChange', {state} => {
|
||||
socket.on('stateChange', data => {
|
||||
let state = data.state;
|
||||
|
||||
if (state.from === 'gathering'
|
||||
&& state.to === 'election'
|
||||
&& this.thisGatherer()) {
|
||||
|
@ -165,9 +167,6 @@ var App = React.createClass({
|
|||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<ul className="nav navbar-top-links navbar-right">
|
||||
<SnowMachineMenu />
|
||||
</ul>
|
||||
</nav>
|
||||
<AdminPanel />
|
||||
<SettingsPanel
|
||||
|
|
Loading…
Reference in a new issue