Skip to content

Commit

Permalink
Add back txn logos
Browse files Browse the repository at this point in the history
This reverts commit b78fd1d.
  • Loading branch information
zachgoll committed Jan 30, 2025
1 parent b78fd1d commit ded42a8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/views/account/transactions/_transaction.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@

<div class="max-w-full">
<%= content_tag :div, class: ["flex items-center gap-2"] do %>
<%= render "shared/circle_logo", name: entry.display_name, size: "sm" %>
<% if transaction.merchant&.icon_url %>
<%= image_tag transaction.merchant.icon_url, class: "w-6 h-6 rounded-full", loading: "lazy" %>
<% else %>
<%= render "shared/circle_logo", name: entry.display_name, size: "sm" %>
<% end %>

<div class="truncate">
<div class="space-y-0.5">
Expand Down

0 comments on commit ded42a8

Please sign in to comment.