added parsed check to scoreboard, added team color vars + team-colors in damage-chart
This commit is contained in:
@@ -37,13 +37,13 @@
|
||||
<ul class="list-unstyled d-flex m-auto">
|
||||
<li class="list-item scoreboard active" @click.prevent="ActivateScoreInfo('scoreboard')">Scoreboard</li>
|
||||
<li :class="!data.matchDetails.parsed ? 'disabled' : ''" class="list-item flashes"
|
||||
@click.prevent="data.matchDetails.parsed ? ActivateScoreInfo('flashes') : null">Flashes
|
||||
@click.prevent="data.matchDetails.parsed ? ActivateScoreInfo('flashes') : null" :title="!data.matchDetails.parsed ? 'This demo has not been parsed' : ''">Flashes
|
||||
</li>
|
||||
<li :class="!data.matchDetails.parsed ? 'disabled' : ''" class="list-item utility"
|
||||
@click.prevent="data.matchDetails.parsed ? ActivateScoreInfo('utility') : null">Utility
|
||||
@click.prevent="data.matchDetails.parsed ? ActivateScoreInfo('utility') : null" :title="!data.matchDetails.parsed ? 'This demo has not been parsed' : ''">Utility
|
||||
</li>
|
||||
<li :class="!data.matchDetails.parsed ? 'disabled' : ''" class="list-item damage"
|
||||
@click.prevent="data.matchDetails.parsed ? ActivateScoreInfo('damage') : null">Damage
|
||||
@click.prevent="data.matchDetails.parsed ? ActivateScoreInfo('damage') : null" :title="!data.matchDetails.parsed ? 'This demo has not been parsed' : ''">Damage
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -54,12 +54,12 @@
|
||||
:rounds="data.matchDetails.max_rounds ? data.matchDetails.max_rounds : data.score[data.matchDetails.match_result - 1] === 16 ? 30 : data.score[data.matchDetails.match_result - 1] === 15 ? 30 : 16"
|
||||
:rounds_played="data.score.reduce((a, b) => a + b)"
|
||||
:score="data.score[0]"
|
||||
:stats="data.stats" :team_id="1"/>
|
||||
:stats="data.stats" :team_id="1" :parsed="data.matchDetails.parsed" />
|
||||
<ScoreTeam
|
||||
:rounds="data.matchDetails.max_rounds ? data.matchDetails.max_rounds : data.score.reduce((a, b) => a + b) >= 16 ? 30 : 16"
|
||||
:rounds_played="data.score.reduce((a, b) => a + b)"
|
||||
:score="data.score[1]"
|
||||
:stats="data.stats" :team_id="2"/>
|
||||
:stats="data.stats" :team_id="2" :parsed="data.matchDetails.parsed" />
|
||||
</div>
|
||||
|
||||
<div id="flashes">
|
||||
|
Reference in New Issue
Block a user