e2e testing
This commit is contained in:
@@ -90,7 +90,6 @@ function pickupLatLon(r: Row): [number, number] | null {
|
||||
type ViewMode = 'kitchens' | 'zones' | 'riders';
|
||||
const VIEW_TABS: Array<{ id: ViewMode; label: string; icon: typeof MapIcon }> = [
|
||||
{ id: 'kitchens', label: 'By Location', icon: MapPin },
|
||||
{ id: 'zones', label: 'By Zone', icon: MapIcon },
|
||||
{ id: 'riders', label: 'By Rider', icon: Bike },
|
||||
];
|
||||
|
||||
@@ -294,7 +293,6 @@ export default function DispatchView({ locationid, tenantId = FIESTA_TENANT_ID,
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
{headerTabs}
|
||||
</div>
|
||||
|
||||
<div className="hdr-stats">
|
||||
@@ -359,6 +357,11 @@ export default function DispatchView({ locationid, tenantId = FIESTA_TENANT_ID,
|
||||
</button>
|
||||
);
|
||||
})}
|
||||
{headerTabs && (
|
||||
<div style={{ marginLeft: 8 }}>
|
||||
{headerTabs}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* ── Body ── */}
|
||||
|
||||
Reference in New Issue
Block a user