diff --git a/website/src/components/broadcast/MapStatsSegment.vue b/website/src/components/broadcast/MapStatsSegment.vue index 4c5153a7..9284b717 100644 --- a/website/src/components/broadcast/MapStatsSegment.vue +++ b/website/src/components/broadcast/MapStatsSegment.vue @@ -50,7 +50,7 @@ export default { }, mapGroup() { if (!this.map || !this.mapGroups.length) return null; - const group = this.mapGroups.find(group => group.name === this.map.type?.[0]); + const group = this.mapGroups.find(group => group.name === this.map.map?.type); if (!group) return null; if (!this.map.dummy) { group.maps = group.maps.sort((a, b) => a.name === this.map.name?.[0] ? -1 : (b.name === this.map.name?.[0] ? 1 : 0)); diff --git a/website/src/components/broadcast/MatchScoreboard.vue b/website/src/components/broadcast/MatchScoreboard.vue index 9804d48a..b5677350 100644 --- a/website/src/components/broadcast/MatchScoreboard.vue +++ b/website/src/components/broadcast/MatchScoreboard.vue @@ -3,10 +3,12 @@
-
+
- +
+ :class="{ 'map-won': cleanID(map.winner?.[0]) === team.id }">
{{ !map.showNumbers ? "-" : (map[`score_${ti + 1}`] || 0) }}
-
-
-
{{ match[`score_${ti + 1}`] || 0 }}
-
-
-
- + +
+
{{ match[`score_${ti + 1}`] || 0 }}
+
+ +
+ + content: ""; + position: absolute; + background-color: rgba(0, 0, 0, 0.1); + right: 100%; + width: 2px; + height: 60%; +} diff --git a/website/src/components/broadcast/roots/MapStatsOverlay.vue b/website/src/components/broadcast/roots/MapStatsOverlay.vue index 7a221362..1a3efa7c 100644 --- a/website/src/components/broadcast/roots/MapStatsOverlay.vue +++ b/website/src/components/broadcast/roots/MapStatsOverlay.vue @@ -77,9 +77,11 @@ export default { maps.push({ dummy: true, ...(this.mapTypes ? { - name: [this.mapTypes && this.mapTypes[num]], - type: [this.mapTypes && this.mapTypes[num]], - image: [{ url: DefaultMapImages[this.mapTypes[num]] }] + map: { + name: this.mapTypes && this.mapTypes[num], + type: this.mapTypes && this.mapTypes[num], + image: [{ url: DefaultMapImages[this.mapTypes[num]] }] + } } : {}) }); }