From e3f47dc43a17334dc1b55289d043c2a9fdfc619b Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Fri, 7 Jul 2023 11:44:20 +0100 Subject: [PATCH] Changes to staff :DB --- src/lib/ldb/staff-ldb.svelte | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/lib/ldb/staff-ldb.svelte b/src/lib/ldb/staff-ldb.svelte index df4ed03..373befb 100644 --- a/src/lib/ldb/staff-ldb.svelte +++ b/src/lib/ldb/staff-ldb.svelte @@ -87,8 +87,7 @@ isDelayed: service?.arrivalType === 'Delayed', isArrDelayed: service?.arrivalType === 'Delayed', isDepDelayed: service?.departureType === 'Delayed', - isEarly: false, - isNonPublic: false + isNonPublic: service?.isPassengerService === "false" ? true : false }; return serviceData; } @@ -243,15 +242,12 @@ Loading... {:then serviceStats} - - + {service.trainid} - {serviceStats.from} - {serviceStats.to} - {serviceStats.platform.number || '-'} - {serviceStats.schArr} + {serviceStats.from} + {serviceStats.to} + {serviceStats.platform.number || '-'} + {serviceStats.schArr} {serviceStats.isArrDelayed ? 'LATE' : serviceStats.expArr} @@ -343,6 +339,10 @@ color: grey; } + .ecs { + opacity: 0.75; + } + .can-time { animation: pulse-cancel 1.5s linear infinite; }