updated broken icon in chat history 2
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good

This commit is contained in:
2022-02-03 15:32:56 +01:00
parent 1c3ca5013a
commit f26324c866
2 changed files with 6 additions and 8 deletions

View File

@@ -108,8 +108,8 @@ table td {
padding: .5rem;
}
.avatar {
width: 75%;
height: 75%;
width: 20px;
height: 20px;
border-radius: 50%;
}
.name {

View File

@@ -212,6 +212,7 @@ export default {
data: res
})
checkRoute()
data.matchDetails = store.state.matchDetails
data.matchDetails.stats.forEach(p => {
@@ -256,10 +257,10 @@ export default {
if (route.fullPath.split('/')[3]) {
const sub = route.fullPath.split('/')[3]
if (matchIdPattern.test(props.match_id)) {
if (store.state.matchDetails.date > 1643410799)
GoToLink(`/match/${props.match_id}/${sub}`)
else
if (store.state.matchDetails.date <= 1643410799 && sub === 'chat-history') {
GoToLink(`/match/${props.match_id}`)
} else
GoToLink(`/match/${props.match_id}/${sub}`)
}
else {
errorHandling(404)
@@ -323,9 +324,6 @@ export default {
})
onMounted(() => {
checkRoute()
const headHeight = 230
const navHeight = 42