Skip to content

Commit

Permalink
[#59898] fix: redundant user popover in profile
Browse files Browse the repository at this point in the history
  • Loading branch information
EinLama committed Dec 5, 2024
1 parent 55ab280 commit 2bceb5d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/components/users/show_page_header_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ See COPYRIGHT and LICENSE files for more details.
++#%>
<%=
render(Primer::OpenProject::PageHeader.new) do |header|
header.with_title { "#{avatar @user} #{h(@user.name)}".html_safe }
header.with_title do
"#{avatar(@user, hover_card: { active: false })} #{h(@user.name)}".html_safe
end
header.with_breadcrumbs(breadcrumb_items)

if @current_user.allowed_globally?(:manage_user)
Expand Down

0 comments on commit 2bceb5d

Please sign in to comment.