Adjust how serviceDetail is presented
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
d98b560584
commit
09f883a461
@ -5,7 +5,6 @@ import type {
|
|||||||
OB_TrainTT_stopDetail,
|
OB_TrainTT_stopDetail,
|
||||||
Stop,
|
Stop,
|
||||||
} from "@owlboard/ts-types";
|
} from "@owlboard/ts-types";
|
||||||
import { logger } from "../../logger.utils";
|
|
||||||
|
|
||||||
export function formatTimetableDetail(
|
export function formatTimetableDetail(
|
||||||
service: Service,
|
service: Service,
|
||||||
@ -22,10 +21,7 @@ export function formatTimetableDetail(
|
|||||||
scheduleEnd: service.scheduleEndDate,
|
scheduleEnd: service.scheduleEndDate,
|
||||||
daysRun: service.daysRun,
|
daysRun: service.daysRun,
|
||||||
stops: formatStops(service.stops),
|
stops: formatStops(service.stops),
|
||||||
vstp: service.vstp,
|
serviceDetail: service.serviceDetail,
|
||||||
firstClass: service.firstClass,
|
|
||||||
catering: service.catering,
|
|
||||||
sleeper: service.sleeper,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (pis) {
|
if (pis) {
|
||||||
|
Loading…
Reference in New Issue
Block a user