From 4b7b83827db3881381a0d060295294988240c159 Mon Sep 17 00:00:00 2001 From: Kalane Date: Thu, 7 Nov 2024 20:40:35 +0100 Subject: [PATCH] fix: use new names in matches too --- client/src/components/Match/DetailedMatchTeam.vue | 4 ++-- client/src/components/Match/Match.vue | 8 ++++---- client/src/components/Summoner/Overview/SummonerMates.vue | 2 +- client/src/layouts/Default.vue | 2 +- server/app/Parsers/MatchParser.ts | 4 ++-- server/app/Services/Jax/src/Endpoints/SummonerEndpoint.ts | 1 + server/app/Services/SummonerService.ts | 4 ++-- 7 files changed, 13 insertions(+), 12 deletions(-) diff --git a/client/src/components/Match/DetailedMatchTeam.vue b/client/src/components/Match/DetailedMatchTeam.vue index ac10f59..d8a7dab 100644 --- a/client/src/components/Match/DetailedMatchTeam.vue +++ b/client/src/components/Match/DetailedMatchTeam.vue @@ -186,13 +186,13 @@ 'font-semibold text-yellow-400': account.id === player.summonerId, }" class="text-overflow w-[5.5rem] overflow-hidden whitespace-nowrap text-left text-xs text-white hover:text-blue-200" - >{{ player.name }}{{ player.name.replace('-', '#') }}
- {{ player.name }} + {{ player.name.replace('-', '#') }}
{{ player.champion.name }} diff --git a/client/src/components/Match/Match.vue b/client/src/components/Match/Match.vue index 8c85f60..21110aa 100644 --- a/client/src/components/Match/Match.vue +++ b/client/src/components/Match/Match.vue @@ -141,14 +141,14 @@ }" :class="isSummonerProfile(ally.account_id)" class="text-overflow w-16 overflow-hidden whitespace-nowrap text-right text-xs font-medium hover:text-white" - >{{ ally.name }}{{ ally.name.replace('-', '#') }}
- {{ ally.name }} + {{ ally.name.replace('-', '#') }}
{{ data.enemyTeam[index].name }}{{ data.enemyTeam[index].name.replace('-', '#') }}
- {{ data.enemyTeam[index].name }} + {{ data.enemyTeam[index].name.replace('-', '#') }}
diff --git a/client/src/components/Summoner/Overview/SummonerMates.vue b/client/src/components/Summoner/Overview/SummonerMates.vue index 30be4bc..4a194c0 100644 --- a/client/src/components/Summoner/Overview/SummonerMates.vue +++ b/client/src/components/Summoner/Overview/SummonerMates.vue @@ -25,7 +25,7 @@ {{ mate.name }}{{ mate.name.replace('-', '#') }}
{{ mate.wins }} / {{ mate.losses }}
diff --git a/client/src/layouts/Default.vue b/client/src/layouts/Default.vue index 04629f3..159e5be 100644 --- a/client/src/layouts/Default.vue +++ b/client/src/layouts/Default.vue @@ -56,7 +56,7 @@