added economy-graph
This commit is contained in:
@@ -87,10 +87,9 @@
|
||||
<script>
|
||||
import {onBeforeMount, onBeforeUnmount, onMounted, reactive, watch} from "vue";
|
||||
import axios from 'axios'
|
||||
import {DisplayRank, FormatFullDate, GetAvgRank, GoToLink, LoadImage} from "../utils";
|
||||
import {DisplayRank, FixMapName, FormatFullDate, GetAvgRank, GoToLink, LoadImage} from "../utils";
|
||||
import {useStore} from "vuex";
|
||||
import {useRoute} from 'vue-router'
|
||||
import {MAPNAMES} from "../constants";
|
||||
|
||||
export default {
|
||||
name: 'Match',
|
||||
@@ -117,7 +116,7 @@ export default {
|
||||
.get(`${process.env.VUE_APP_API_URL}/match/${props.match_id}`)
|
||||
.then((response) => {
|
||||
if (response.data.map)
|
||||
document.title = `${MAPNAMES[response.data.map]} | csgoWTF`
|
||||
document.title = `${FixMapName(response.data.map)} | csgoWTF`
|
||||
else
|
||||
document.title = `Match-Details | csgoWTF`
|
||||
|
||||
|
Reference in New Issue
Block a user