Skip to content

Commit

Permalink
Don't render replay url for general queue
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mao committed Jan 18, 2023
1 parent 75852d5 commit c9dd529
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/views/queue.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class QueueHistory extends Component {
<th>Team (Δ)</th>
<th>Ranked</th>
<th>Status</th>
<th>Replay</th>
{this.state.tournament_id !== null && <th>Replay</th>}
<th>Creation time</th>
</tr>
</thead>
Expand Down Expand Up @@ -228,7 +228,8 @@ class QueueHistory extends Component {
</td>
<td>{s.is_ranked ? "Ranked" : "Unranked"}</td>
{stat_entry}
{replay_entry}
{this.state.tournament_id !== null &&
replay_entry}
<td>{created_date_string}</td>
</tr>
);
Expand Down

0 comments on commit c9dd529

Please sign in to comment.