[fix]Add nil check for happening_now partial

This commit is contained in:
Jimmy 2021-04-22 01:13:56 +08:00
parent 74437ab1e5
commit 83e4601ddb
No known key found for this signature in database
GPG key ID: FAE75C760A4A5CC6

View file

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