added parsed check to scoreboard, added team color vars + team-colors in damage-chart

This commit is contained in:
cnachtigall1991
2021-10-12 07:04:22 +02:00
parent 5227f05414
commit 33fd9f6b5c
6 changed files with 63 additions and 25 deletions

View File

@@ -13,7 +13,7 @@
<th class="player__deaths">D</th>
<th class="player__diff cursor__help" title="Kill death difference">+/-</th>
<th class="player__kd">K/D</th>
<th class="player__adr cursor__help" title="Average damage per round">ADR</th>
<th class="player__adr cursor__help" title="Average damage per round" v-if="props.parsed">ADR</th>
<th class="player__hs cursor__help" title="Percentage of kills with a headshot">HS%</th>
<th class="player__rating cursor__help" title="Estimated HLTV Rating 1.0">Rating</th>
<th class="player__mvp cursor__help" title="Most valuable player">MVP</th>
@@ -42,6 +42,7 @@
:rounds_played="props.rounds_played"
:color="player.extended?.color"
:tracked="player.player.tracked"
:parsed="props.parsed"
/>
</tr>
</tbody>
@@ -81,6 +82,11 @@ export default {
required: true,
default: 0
},
parsed: {
type: Boolean,
required: true,
default: false
}
},
setup(props) {
return {props}