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