This commit is contained in:
NextJS
2026-05-11 04:30:39 +00:00
parent 0f6e979aac
commit b2be61190f
13 changed files with 1361 additions and 6 deletions
+3 -1
View File
@@ -4,7 +4,8 @@ export type AdminDashboardTab =
| "dashboard"
| "players"
| "matches"
| "matchmaker";
| "matchmaker"
| "ledger";
export type DashboardUrlQuery = {
tab: AdminDashboardTab;
@@ -22,6 +23,7 @@ export function buildDashboardHref(q: DashboardUrlQuery): string {
if (q.tab === "matches") p.set("tab", "matches");
else if (q.tab === "players") p.set("tab", "players");
else if (q.tab === "matchmaker") p.set("tab", "matchmaker");
else if (q.tab === "ledger") p.set("tab", "ledger");
if (q.highlightId) p.set("highlight", q.highlightId);
if (q.participantRaw) p.set("participant", q.participantRaw);
if (q.tab === "matchmaker" && q.matchmakerSource === "raw") {