Fix for ECS Headcodes
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
3b03330ce1
commit
e1ba881be4
@ -98,7 +98,7 @@ async function fetchPisCode(
|
||||
}
|
||||
// Check if no public stops - then it should use an ECS headcode
|
||||
let pisData: OB_Pis_SimpleObject | null
|
||||
if (tiplocList) {
|
||||
if (tiplocList.length) {
|
||||
pisData = await findByTiplocArray(tiplocList);
|
||||
} else {
|
||||
pisData = {
|
||||
|
Loading…
Reference in New Issue
Block a user