This commit is contained in:
Chris Blanchard 2015-10-03 23:39:51 +01:00
parent 549d1ef32e
commit d55ff43ef8

View file

@ -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 => {