Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,7 @@ PLATFORMS
arm64-darwin-23
arm64-darwin-25
x86_64-darwin-24
x86_64-darwin-25
x86_64-linux

DEPENDENCIES
Expand Down
4 changes: 2 additions & 2 deletions app/serializers/workshop_calendar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def calendar

def setup_event
calendar.event do |e|
configure(e, host_name: workshop.host.name)
configure(e, host_name: workshop.host&.name || 'TBA')

e.location = address(workshop)
e.description = I18n.t('workshop.calendar.description', invitation_link: invitation_url)
Expand Down Expand Up @@ -55,7 +55,7 @@ def configure(event, host_name:)
end

def address(workshop)
AddressPresenter.new(workshop.host.address).to_s
workshop.host&.address ? AddressPresenter.new(workshop.host.address).to_s : 'TBA'
end

def start_and_end_time(event)
Expand Down
Loading