mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2025-02-17 01:12:20 +00:00
Fixes #44
This commit is contained in:
parent
549d1ef32e
commit
d55ff43ef8
1 changed files with 8 additions and 0 deletions
|
@ -15,6 +15,13 @@ var App = React.createClass({
|
|||
}
|
||||
},
|
||||
|
||||
updateTitle() {
|
||||
let gather = this.props.gather;
|
||||
if (gather) {
|
||||
document.title = `NSL Gathers (${gather.gatherers.length}/12)`;
|
||||
}
|
||||
},
|
||||
|
||||
thisGatherer() {
|
||||
let gather = this.props.gather;
|
||||
let user = this.props.user;
|
||||
|
@ -67,6 +74,7 @@ var App = React.createClass({
|
|||
servers: data.servers,
|
||||
previousGather: data.previousGather
|
||||
});
|
||||
this.updateTitle();
|
||||
});
|
||||
|
||||
socket.on("gather:archive:refresh", data => {
|
||||
|
|
Loading…
Reference in a new issue