Fix third place match not showing unlinked when counterpicks and different count

This commit is contained in:
Kalle 2025-07-13 11:39:01 +03:00
parent 383e8b6fe6
commit 93db89c41e

View File

@ -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,
)
);
},
);