Skip to content

Commit

Permalink
Fix a few match page issues
Browse files Browse the repository at this point in the history
  • Loading branch information
slmnio committed Oct 12, 2021
1 parent 30cdd18 commit 6790c3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion website/src/components/website/MapDisplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export default {
},
name() {
try {
console.log(this.map);
if (this.condensed) return this.map.short_name[0];
return this.map.name[0];
} catch (e) { return ""; }
Expand Down
2 changes: 1 addition & 1 deletion website/src/views/sub-views/MatchHistory.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<h2 class="text-center mt-4">This match</h2>
<div class="this-match-maps d-flex flex-center">
<MapDisplay v-for="map in match.maps" :map="map" v-bind:key="map.id"/>
<MapDisplay v-for="map in match.maps" :map="map" v-bind:key="map.id" :match="match"/>
</div>


Expand Down
3 changes: 3 additions & 0 deletions website/src/views/sub-views/MatchVOD.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export default {
if (this.match.__loading || !this.match.id) return false;
if (this.match && !this.match.vod) return true;
return false;
},
theme() {
return this.match?.event?.theme;
}
}
};
Expand Down

0 comments on commit 6790c3f

Please sign in to comment.