Skip to content

Commit

Permalink
Merge pull request #4824 from AntonKhorev/no-user-button
Browse files Browse the repository at this point in the history
Remove unnecessary user menu wrapper
  • Loading branch information
gravitystorm committed May 22, 2024
2 parents 56a34d8 + f89dfa9 commit 994d641
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/views/layouts/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,8 @@
<% if current_user.new_messages.size > 0 %>
<span class="badge count-number m-1"><%= current_user.new_messages.size %></span>
<% end %>
<span class="user-button">
<span class='username'>
<%= current_user.display_name %>
</span>
<span class='username'>
<%= current_user.display_name %>
</span>
</button>
<div class='dropdown-menu dropdown-menu-end'>
Expand Down

0 comments on commit 994d641

Please sign in to comment.