Fix initials + profile pictures (#2186)

* Improve initials + profile pictures

* Change to url_options
This commit is contained in:
Alex Hatzenbuhler
2025-05-01 17:43:21 -05:00
committed by GitHub
parent 17fa5413f6
commit 194dad702d
6 changed files with 18 additions and 8 deletions

View File

@@ -6,7 +6,7 @@
<% elsif variant == :avatar %>
<button data-menu-target="button">
<div class="w-9 h-9 cursor-pointer">
<%= render "settings/user_avatar", avatar_url: avatar_url %>
<%= render "settings/user_avatar", avatar_url: avatar_url, initials: initials %>
</div>
</button>
<% end %>