mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-09-30 04:33:11 +00:00
chore(dashboard): keep ticket keys out of source comments
This commit is contained in:
parent
7984640a5f
commit
f64447f52c
3 changed files with 3 additions and 3 deletions
|
|
@ -192,7 +192,7 @@ async function mockDashboardApi(page: Page, userRoles: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pathname.includes("/Dashboard/Stats")) {
|
if (pathname.includes("/Dashboard/Stats")) {
|
||||||
// The server reports no unassigned work for a dispatcher-scoped view (SH-392).
|
// The server reports no unassigned work for a dispatcher-scoped view.
|
||||||
const unassigned = userRoles === "Dispatcher" ? 0 : 11;
|
const unassigned = userRoles === "Dispatcher" ? 0 : 11;
|
||||||
return fulfillJson(route, { data: { ...STATS, unassigned } });
|
return fulfillJson(route, { data: { ...STATS, unassigned } });
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ export interface DashboardStats {
|
||||||
scheduledTomorrow: number;
|
scheduledTomorrow: number;
|
||||||
pendingUplifts: number;
|
pendingUplifts: number;
|
||||||
avetaPending: number;
|
avetaPending: number;
|
||||||
/** Open WOs with no dispatcher in the selected period (SH-392). */
|
/** Open WOs with no dispatcher in the selected period. */
|
||||||
unassigned: number;
|
unassigned: number;
|
||||||
breakdown: DashboardBreakdownRow[];
|
breakdown: DashboardBreakdownRow[];
|
||||||
statusDistribution: DashboardStatusBucketRow[];
|
statusDistribution: DashboardStatusBucketRow[];
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@ export function workOrderRegionDrilldownSearch(
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Unassigned tile's list (SH-392): open WOs with no dispatcher in the
|
* The Unassigned tile's list: open WOs with no dispatcher in the
|
||||||
* Dashboard period, the same set the backend counts. All time sends no dates,
|
* Dashboard period, the same set the backend counts. All time sends no dates,
|
||||||
* so the board searches every week, undated WOs included.
|
* so the board searches every week, undated WOs included.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue