diff --git a/src/features/store-admin/pages/DispatchPage.tsx b/src/features/store-admin/pages/DispatchPage.tsx index d7da91e..1a263aa 100644 --- a/src/features/store-admin/pages/DispatchPage.tsx +++ b/src/features/store-admin/pages/DispatchPage.tsx @@ -337,6 +337,31 @@ export function DispatchPage() { } : {})} /> + ) : mode === 'riders' || mode === 'stores' ? ( + /* + The map is the resting state of these two views, not a reward for + picking something. Opening dispatch to a placeholder that says + "pick one" wastes the first look: the whole day IS the answer to + "where is my work", and the operator often only wants to narrow + after seeing it. Picking a rider or a shop filters this map; it + does not summon it. + */ + + + + + {mode === 'riders' ? 'Everyone on the road' : 'Every shop'} + + + {stops.length} stop{stops.length === 1 ? '' : 's'} ยท {moneyExact(totals.value)} + + + + + ) : (