show opponent name in match list
This commit is contained in:
parent
63695c299c
commit
a1d7760b72
1 changed files with 8 additions and 2 deletions
|
@ -134,8 +134,10 @@
|
||||||
class:selected={match.id === selectedMatchId}
|
class:selected={match.id === selectedMatchId}
|
||||||
>
|
>
|
||||||
<span class="match-timestamp">{formatMatchTimestamp(match.timestamp)}</span>
|
<span class="match-timestamp">{formatMatchTimestamp(match.timestamp)}</span>
|
||||||
<!-- hardcode hex for now, maps are not yet implemented -->
|
<!-- hex is hardcoded for now, don't show map name -->
|
||||||
<span class="match-mapname">hex</span>
|
<!-- <span class="match-mapname">hex</span> -->
|
||||||
|
<!-- ugly temporary hardcode -->
|
||||||
|
<span class="match-opponent">{match["players"][1]["bot_name"]}</span>
|
||||||
</li>
|
</li>
|
||||||
{/each}
|
{/each}
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -237,6 +239,10 @@
|
||||||
padding: 0 0.5em;
|
padding: 0 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.match-opponent {
|
||||||
|
padding: 0 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
.sidebar-header {
|
.sidebar-header {
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|
Loading…
Reference in a new issue