Skip to content

Commit

Permalink
Merge branch 'fix/home-page-portals-tooltip-names-confusing' into stage
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilelkihal committed Feb 7, 2025
2 parents b181450 + fbb5114 commit 8e2d38f
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 8e2d38f

Please sign in to comment.