diff --git a/client/src/components/Match/DetailedMatch.vue b/client/src/components/Match/DetailedMatch.vue index fc64e6f..1c1e4d5 100644 --- a/client/src/components/Match/DetailedMatch.vue +++ b/client/src/components/Match/DetailedMatch.vue @@ -62,12 +62,12 @@ export default { computed: { allyTeam() { - return this.data.blueTeam.players.some((p) => p.summonerId === this.account.id) + return this.data.blueTeam.players.some((p) => p.summonerPuuid === this.account.puuid) ? this.data.blueTeam : this.data.redTeam }, enemyTeam() { - return this.data.blueTeam.players.some((p) => p.summonerId === this.account.id) + return this.data.blueTeam.players.some((p) => p.summonerPuuid === this.account.puuid) ? this.data.redTeam : this.data.blueTeam }, diff --git a/client/src/components/Match/DetailedMatchTeam.vue b/client/src/components/Match/DetailedMatchTeam.vue index 869bde7..d5c82b4 100644 --- a/client/src/components/Match/DetailedMatchTeam.vue +++ b/client/src/components/Match/DetailedMatchTeam.vue @@ -183,7 +183,7 @@ params: { region: $route.params.region, name: player.name }, }" :class="{ - 'font-semibold text-yellow-400': account.id === player.summonerId, + 'font-semibold text-yellow-400': account.puuid === player.summonerPuuid, }" class="text-overflow w-[5.5rem] overflow-hidden whitespace-nowrap text-left text-xs text-white hover:text-blue-200" >{{ nameWithoutTagLine(player.name) }}
  • @@ -30,7 +30,7 @@ name: 'summoner', params: { region: $route.params.region, name: ally.riotId.replaceAll('#', '-') }, }" - :class="[ally.summonerId === account.id ? 'text-white' : 'text-blue-200']" + :class="[ally.puuid === account.puuid ? 'text-white' : 'text-blue-200']" class="relative ml-2 hover:text-white" >{{ ally.riotId }} @@ -39,7 +39,7 @@