GDI...typo.
This commit is contained in:
parent
deb249d2fd
commit
32ef4a294b
2 changed files with 11 additions and 1 deletions
|
|
@ -177,7 +177,8 @@ module EventsHelper
|
|||
return unless event.url.present? && current_user
|
||||
|
||||
conference = event.conference
|
||||
is_today = event.time&.in_time_zone(c.timezone).to_date == conference.current_conference_day
|
||||
is_today = event.time&.in_time_zone(conference.timezone).to_date
|
||||
== conference.current_conference_day
|
||||
|
||||
if current_user.roles.where(id: conference.roles).any?
|
||||
# Show Pre-Event links for any memeber of the conference team.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue