e2e testing

This commit is contained in:
Gokul
2026-06-15 19:17:13 +05:30
parent 896561245d
commit 01685f14c2
18 changed files with 1102 additions and 198 deletions

View File

@@ -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 ── */}