add supply

This commit is contained in:
2026-05-13 12:59:35 +05:30
parent fcf7654e78
commit 0bb486223e
6 changed files with 359 additions and 8 deletions
+3
View File
@@ -14,6 +14,8 @@ export type DashboardUrlQuery = {
participantRaw: string | null;
editId?: number | null;
saveError?: boolean;
/** Ledger: failed system supply action */
supplyError?: boolean;
/** When tab is matchmaker: `raw` selects matchmaker.log; omit or processed → history.log */
matchmakerSource?: MatchmakerLogSource | null;
/** Ledger tab: UTC date-only bounds (`lfrom` / `lto` query params). */
@@ -62,6 +64,7 @@ export function buildDashboardHref(q: DashboardUrlQuery): string {
p.set("edit", String(q.editId));
}
if (q.saveError) p.set("saveError", "1");
if (q.supplyError) p.set("supplyErr", "1");
const s = p.toString();
return s ? `/?${s}` : "/";
}