We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d055c5 commit dcbbd17Copy full SHA for dcbbd17
1 file changed
src/pages/lb/[id].astro
@@ -633,14 +633,7 @@ const name = isBB ? `Boss Blitz S${season}` : `Finale Echoing S${season}`;
633
634
modalContent.innerHTML = '';
635
636
- const users = (item.users || []).slice();
637
- users.sort((a, b) => {
638
- const aScore = Math.abs(a.teamScore || 0);
639
- const bScore = Math.abs(b.teamScore || 0);
640
- return isBB ? bScore - aScore : aScore - bScore;
641
- });
642
-
643
- const rowsHtml = users
+ const rowsHtml = item.users
644
.map((u) => {
645
const entry = (regionData.Rank || []).find((e) => String(e.Id) === String(u.id)) || (regionData.Self && String(regionData.Self.Id) === String(u.id) ? regionData.Self : null);
646
const dataEntry = entry ? `data-entry='${JSON.stringify(entry).replace(/'/g, ''')}'` : '';
0 commit comments