diff --git a/src/features/schedule/components/ScheduleDetailsPage.tsx b/src/features/schedule/components/ScheduleDetailsPage.tsx index df9a6c7a..dc456c39 100644 --- a/src/features/schedule/components/ScheduleDetailsPage.tsx +++ b/src/features/schedule/components/ScheduleDetailsPage.tsx @@ -23,6 +23,7 @@ import { useScheduleDetails } from "../hooks/useScheduleDetails.js"; import { buildScheduleDetailsSeo } from "../seo.js"; import { buildScheduleFlightJsonLd } from "../json-ld.js"; import { ScheduleFlightBody } from "./ScheduleFlightBody.js"; +import { FlightSchedule } from "@/features/online-board/components/FlightSchedule/index.js"; import type { IScheduleFlightId, IFlightLeg, ISimpleFlight } from "../types.js"; import "./ScheduleDetailsPage.scss"; @@ -219,6 +220,14 @@ export const ScheduleDetailsPage: FC = ({ {/* Collapsed summary row, then the rich per-leg body. */} {renderBody(flight)} + + {/* Angular's flight-schedule-details renders the weekly + operating schedule below the leg body for direct + flights. Skip it for multi-leg chains (Angular also + hides it there). */} + {flight.routeType === "Direct" && ( + + )} ); })}