fixed #8
This commit is contained in:
@@ -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) => {
|
||||||
|
if (response.data.map)
|
||||||
document.title = `${response.data.map} | csgoWTF`
|
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
|
||||||
|
Reference in New Issue
Block a user