Fix check for number of services

This commit is contained in:
Fred Boniface 2023-06-08 14:13:34 +01:00
parent d341103aa5
commit 665de609d0

View File

@ -25,7 +25,7 @@ async function get(headcode) {
} }
async function parse(data) { async function parse(data) {
if (data.length <= 1) { if (data.length >= 1) {
document.getElementById('train_options').style = 'display:none;' document.getElementById('train_options').style = 'display:none;'
displayOne(data[0]) displayOne(data[0])
} }