i hate life
This commit is contained in:
parent
7c71540d1a
commit
a6add00c51
1 changed files with 1 additions and 2 deletions
|
|
@ -177,8 +177,7 @@ module EventsHelper
|
|||
return unless event.url.present? && current_user
|
||||
|
||||
conference = event.conference
|
||||
is_today = event.time&.in_time_zone(conference.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