Remove superflous condition

We ensured that the event has a track in the condition 3 lines above. Thus
we can remove this one.
This commit is contained in:
Björn Geuken 2015-05-16 14:54:15 +02:00
parent 94bb76f5ec
commit b685628208

View file

@ -19,6 +19,6 @@
- if event[0].track
%span.schedule-track
%span.fa.fa-road
%span.label{ style: "background-color: #{event[0].track.color if event[0].track}" }
%span.label{ style: "background-color: #{event[0].track.color}" }
= event[0].track.name