diff --git a/drb-frontend/app/incidents/[id]/page.tsx b/drb-frontend/app/incidents/[id]/page.tsx index 19638c7..01c961a 100644 --- a/drb-frontend/app/incidents/[id]/page.tsx +++ b/drb-frontend/app/incidents/[id]/page.tsx @@ -100,6 +100,7 @@ export default function IncidentDetailPage() { const displayTags = incident.tags.filter((t) => t !== "auto-generated"); const unitsActive = incident.units_active ?? incident.units ?? []; const unitsCleared = incident.units_cleared ?? []; + const vehicles = incident.vehicles ?? []; const active = incident.status === "active"; const visible = newestFirst.slice(0, earlierShown); @@ -213,11 +214,11 @@ export default function IncidentDetailPage() { - {incident.vehicles?.length > 0 && ( + {vehicles.length > 0 && (
Vehicles