added parsed check to scoreboard, added team color vars + team-colors in damage-chart
This commit is contained in:
@@ -198,7 +198,7 @@ import {
|
||||
FormatDuration,
|
||||
FormatFullDate,
|
||||
FormatFullDuration,
|
||||
GetHLTV_1,
|
||||
GetHLTV_1, GoToLink,
|
||||
GoToMatch,
|
||||
LoadImage,
|
||||
SaveLastVisitedToLocalStorage
|
||||
@@ -262,7 +262,7 @@ export default {
|
||||
|
||||
LoadImage(data.matches[0].map ? data.matches[0].map : 'random')
|
||||
|
||||
console.log(response.data)
|
||||
// console.log(response.data)
|
||||
|
||||
let player = {
|
||||
'steamid64': response.data.steamid64,
|
||||
@@ -274,7 +274,10 @@ export default {
|
||||
document.title = `${response.data.name} | csgoWTF`
|
||||
})
|
||||
.catch((e) => {
|
||||
console.log(e);
|
||||
if (e.response.status === 404) {
|
||||
GoToLink('/')
|
||||
}
|
||||
// console.log(e.response.status, e.response.statusText);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user