Fix missing privacy blur on split transaction amounts in drawer (#1275)

* Initial plan

* Fix privacy blur missing on split transaction amounts in drawer

Co-authored-by: jjmata <187772+jjmata@users.noreply.github.com>
Agent-Logs-Url: https://github.com/we-promise/sure/sessions/658e35ef-e82a-4446-bd11-19b9b67c54a7

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jjmata <187772+jjmata@users.noreply.github.com>
This commit is contained in:
Copilot
2026-03-24 14:30:23 +01:00
committed by GitHub
parent 1ddc427fd5
commit dbc104dc5d

View File

@@ -190,7 +190,7 @@
<p class="text-sm font-medium text-primary"><%= child.name %></p>
<p class="text-xs text-secondary"><%= child.entryable.try(:category)&.name || t("splits.new.uncategorized") %></p>
</div>
<p class="text-sm font-medium <%= child.amount.negative? ? "text-green-600" : "text-primary" %>">
<p class="text-sm font-medium privacy-sensitive <%= child.amount.negative? ? "text-green-600" : "text-primary" %>">
<%= format_money(-child.amount_money) %>
</p>
</div>
@@ -232,7 +232,7 @@
<p class="text-sm font-medium text-primary"><%= parent.name %></p>
<p class="text-xs text-secondary"><%= parent.date.strftime("%b %d, %Y") %></p>
</div>
<p class="text-sm font-medium text-primary">
<p class="text-sm font-medium privacy-sensitive text-primary">
<%= format_money(-parent.amount_money) %>
</p>
</div>