summaryrefslogtreecommitdiff
path: root/templates/wagenreihung.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/wagenreihung.html.ep')
-rw-r--r--templates/wagenreihung.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/wagenreihung.html.ep b/templates/wagenreihung.html.ep
index 2c63c0e..53be3a1 100644
--- a/templates/wagenreihung.html.ep
+++ b/templates/wagenreihung.html.ep
@@ -101,7 +101,7 @@
% }
% }
<div class="direction">
-% if ($wr->has_bad_wagons) {
+% if ($wr->has_bad_wagons or not defined $wr->direction) {
% }
% elsif ($wr->direction == 100) {
<i class="material-icons">arrow_downward</i>