added total wins to best mates and best map
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good
This commit is contained in:
@@ -249,6 +249,7 @@
|
||||
</span>
|
||||
<span class="end">
|
||||
{{ (mate.win_rate * 100).toFixed(0) }} %
|
||||
<span v-if="mate.total" class="total text-muted">({{ mate.total }})</span>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -285,6 +286,8 @@
|
||||
</span>
|
||||
<span class="end">
|
||||
{{ (map[1] * 100).toFixed(0) }} %
|
||||
<span v-if="data.playerMeta.total_maps[map[0]]"
|
||||
class="total text-muted">({{ data.playerMeta.total_maps[map[0]] }})</span>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -496,7 +499,7 @@ export default {
|
||||
const dmg = ref(0)
|
||||
|
||||
for (let i = 0; i <= 4; i++) {
|
||||
weaponsContainer = document.querySelector('.dmg-chart-' + i)
|
||||
weaponsContainer = document.querySelector('.dmplayerMetag-chart-' + i)
|
||||
if (weaponsContainer !== null) {
|
||||
if (i === 0) {
|
||||
dmg100.value = weaponsContainer.innerHTML * 1
|
||||
@@ -759,6 +762,20 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.best-map, .best-mate {
|
||||
ul li {
|
||||
.start {
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
.end {
|
||||
.total {
|
||||
padding-left: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.preferred-weapons,
|
||||
.best-map {
|
||||
ul li {
|
||||
|
Reference in New Issue
Block a user