Patch for nil event schedules

This commit is contained in:
Michael Ball 2020-08-01 08:08:56 -07:00
parent 29cea21c84
commit 18eb6ac3d3

View file

@ -24,7 +24,7 @@
= join_event_link(@event, current_user)
.col-md-4
%p{style: "margin-top: 20px"}
- if @event_schedule.start_time
- if @event_schedule&.start_time
= link_to google_calendar_link(@event_schedule), target: '_blank', class: 'btn btn-success' do
%i.fa.fa-calendar
Google Calendar