From 204d38a274a70ed77267c97f929759d92cbf9d37 Mon Sep 17 00:00:00 2001 From: Kalane Date: Thu, 7 Nov 2024 20:07:14 +0100 Subject: [PATCH] fix: display riotId in overview live game --- client/src/components/Match/LiveMatch.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/components/Match/LiveMatch.vue b/client/src/components/Match/LiveMatch.vue index 741b9e0..11988a0 100644 --- a/client/src/components/Match/LiveMatch.vue +++ b/client/src/components/Match/LiveMatch.vue @@ -28,11 +28,11 @@ v-if="!ally.bot" :to="{ name: 'summoner', - params: { region: $route.params.region, name: ally.summonerName }, + params: { region: $route.params.region, name: ally.riotId.replaceAll('#', '-') }, }" :class="[ally.summonerId === account.id ? 'text-white' : 'text-blue-200']" class="relative ml-2 hover:text-white" - >{{ ally.summonerName }}{{ ally.riotId }} @@ -47,10 +47,10 @@ v-if="!enemy.bot" :to="{ name: 'summoner', - params: { region: $route.params.region, name: enemy.summonerName }, + params: { region: $route.params.region, name: enemy.riotId.replaceAll('#', '-') }, }" class="relative text-red-200 hover:text-white" - >{{ enemy.summonerName }}{{ enemy.riotId }}