mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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
|
||||
%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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue