From 93db89c41ec7628363baef2cfba22f4891fe74fc Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sun, 13 Jul 2025 11:39:01 +0300 Subject: [PATCH] Fix third place match not showing unlinked when counterpicks and different count --- .../components/BracketMapListDialog.tsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/features/tournament-bracket/components/BracketMapListDialog.tsx b/app/features/tournament-bracket/components/BracketMapListDialog.tsx index b5f27589d..a34a84562 100644 --- a/app/features/tournament-bracket/components/BracketMapListDialog.tsx +++ b/app/features/tournament-bracket/components/BracketMapListDialog.tsx @@ -113,10 +113,14 @@ export function BracketMapListDialog({ return true; } - return finalsMaps.list.every( - (map, i) => - map.mode === thirdPlaceMaps.list![i].mode && - map.stageId === thirdPlaceMaps.list![i].stageId, + return ( + finalsMaps.count === thirdPlaceMaps.count && + finalsMaps.pickBan === thirdPlaceMaps.pickBan && + finalsMaps.list.every( + (map, i) => + map.mode === thirdPlaceMaps.list![i].mode && + map.stageId === thirdPlaceMaps.list![i].stageId, + ) ); }, );