This commit is contained in:
cnachtigall1991
2021-10-19 07:24:43 +02:00
parent 482008c77b
commit a71bab1faa

View File

@@ -115,7 +115,11 @@ export default {
axios axios
.get(`${process.env.VUE_APP_API_URL}/match/${props.match_id}`) .get(`${process.env.VUE_APP_API_URL}/match/${props.match_id}`)
.then((response) => { .then((response) => {
document.title = `${response.data.map} | csgoWTF` if (response.data.map)
document.title = `${response.data.map} | csgoWTF`
else
document.title = `Match-Details | csgoWTF`
store.commit({ store.commit({
type: 'changeMatchDetails', type: 'changeMatchDetails',
data: response.data data: response.data