Add gather type to archive

This commit is contained in:
Chris Blanchard 2016-04-18 23:26:46 +01:00
parent f1cc96084c
commit fe146546cd

View file

@ -1003,6 +1003,7 @@ const CompletedGather = exports.CompletedGather = React.createClass({
let gather = this.props.gather;
let maps = this.props.maps;
let servers = this.props.servers;
let gatherName = gather.name || "Classic Gather";
if (this.state.show) {
gatherInfo.push(<GatherTeams gather={gather} key="gatherteams" />);
gatherInfo.push(<GatherVotingResults gather={gather}
@ -1013,7 +1014,7 @@ const CompletedGather = exports.CompletedGather = React.createClass({
<div>
<div className="panel panel-success add-bottom pointer"
onClick={this.toggleGatherInfo}>
<div className="panel-heading"><strong>{this.completionDate()}</strong></div>
<div className="panel-heading"><strong>{gatherName} {this.completionDate()}</strong></div>
</div>
{gatherInfo}
</div>