add supply
This commit is contained in:
@@ -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}` : "/";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user