fixes #172
This commit is contained in:
parent
82c6c989e6
commit
c9bc76f696
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
|||
</div>
|
||||
<div class="tile">
|
||||
<div class="tile is-vertical">
|
||||
<% all_events.reject { |x| x == upcoming_events[0] }.reverse[0..2].each do |event| %>
|
||||
<% all_events.reject { |x| x == (upcoming_events[0] || all_events[-1]) }.reverse[0..2].each do |event| %>
|
||||
<div class="tile is-parent ">
|
||||
<%= render '/partials/_events_tile.*', event: event %>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue