From b6a7efe227eb563b2b9e7328aeb4e212a595655f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 30 Nov 2021 22:06:36 +0100 Subject: disable cycle display (lacking Open Data) --- lib/DBInfoscreen/Controller/Stationboard.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 77f3a7d..fee4b99 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -745,7 +745,8 @@ sub render_train { } )->wait; - if ( $self->param('detailed') ) { + # currently useless due to lack of Open Data + if ( 0 and $self->param('detailed') ) { my $cycle_req = Mojo::Promise->new; push( @requests, $cycle_req ); $self->wagonorder->has_cycle_p( $result->train_no )->then( -- cgit v1.2.3