Skip to content

Commit

Permalink
change portal_config_tooltip method param portal_name by portal to no…
Browse files Browse the repository at this point in the history
…t conflict it with the method portal_name (#939)
  • Loading branch information
Bilelkihal authored Feb 15, 2025
1 parent c4e9cba commit f0af8bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/helpers/home_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def format_number_abbreviated(number)
end
end

def portal_config_tooltip(portal_name, &block)
portal_id = portal_name&.downcase
def portal_config_tooltip(portal, &block)
portal_id = portal&.downcase
title = if (federation_portal_status(portal_name: portal_id) || portal_id.eql?(portal_name&.downcase))
render(
TurboFrameComponent.new(
Expand Down

0 comments on commit f0af8bb

Please sign in to comment.