Skip to content

Commit

Permalink
Fixed session card relaunch button configuration for fixed SmartAttri…
Browse files Browse the repository at this point in the history
…butes
  • Loading branch information
abujeda committed Nov 14, 2024
1 parent daa1cde commit d6acfa1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def relaunch(session)
return unless batch_connect_app.valid?

user_context = session.user_context
params = batch_connect_app.attributes.map{|attribute| ["batch_connect_session_context[#{attribute.id}]", user_context.fetch(attribute.id, '')]}.to_h
params = batch_connect_app.attributes.map{|attribute| ["batch_connect_session_context[#{attribute.id}]", user_context.fetch(attribute.id, nil)]}.to_h.compact
title = "#{t('dashboard.batch_connect_sessions_relaunch_title')} #{session.title} #{t('dashboard.batch_connect_sessions_word')}"
button_to(
batch_connect_session_contexts_path(token: batch_connect_app.token),
Expand Down

0 comments on commit d6acfa1

Please sign in to comment.