[fix]Add nil check for happening_now partial

This commit is contained in:
Jimmy 2021-04-22 01:13:56 +08:00 committed by CactusPuppy
parent 15f30190e4
commit 61d41fa931
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82

View file

@ -1,4 +1,4 @@
- if events_schedules.any? - if events_schedules.present? && events_schedules.any?
.row .row
%h2.text-center{ style: 'margin-bottom:30px' } %h2.text-center{ style: 'margin-bottom:30px' }
- if is_happening_next - if is_happening_next