mirror of
https://github.com/we-promise/sure.git
synced 2026-04-16 18:44:13 +00:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user