Patch for nil event schedules
This commit is contained in:
parent
29cea21c84
commit
18eb6ac3d3
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@
|
||||||
= join_event_link(@event, current_user)
|
= join_event_link(@event, current_user)
|
||||||
.col-md-4
|
.col-md-4
|
||||||
%p{style: "margin-top: 20px"}
|
%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
|
= link_to google_calendar_link(@event_schedule), target: '_blank', class: 'btn btn-success' do
|
||||||
%i.fa.fa-calendar
|
%i.fa.fa-calendar
|
||||||
Google Calendar
|
Google Calendar
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue