diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-11-30 22:06:36 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-11-30 22:06:36 +0100 |
commit | b6a7efe227eb563b2b9e7328aeb4e212a595655f (patch) | |
tree | 9d64d8a92f33f633503e4b01555bb499c236a162 /lib | |
parent | 1a1afd5de2ec3ee1b420b97746bb90aa5d5377e8 (diff) |
disable cycle display (lacking Open Data)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 3 |
1 files changed, 2 insertions, 1 deletions
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( |