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:
parent
94bb76f5ec
commit
b685628208
1 changed files with 1 additions and 1 deletions
|
|
@ -19,6 +19,6 @@
|
||||||
- if event[0].track
|
- if event[0].track
|
||||||
%span.schedule-track
|
%span.schedule-track
|
||||||
%span.fa.fa-road
|
%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
|
= event[0].track.name
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue