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; padding: .5rem;
} }
.avatar { .avatar {
width: 75%; width: 20px;
height: 75%; height: 20px;
border-radius: 50%; border-radius: 50%;
} }
.name { .name {

View File

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