mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 21:29:38 +02:00
Fix currency symbol for Uncategorized budget to match budget currency (#2058)
Previously, the symbol for the 'Uncategorized' segment defaulted to `$`, which is incorrect for non-USD budgets. This change ensures the correct currency symbol is shown based on the budget's currency. Co-authored-by: Zach Gollwitzer <zach@maybe.co>
This commit is contained in:
parent
0da057b792
commit
2bc3887262
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@
|
||||||
<div class="ml-auto">
|
<div class="ml-auto">
|
||||||
<div class="form-field w-[120px]">
|
<div class="form-field w-[120px]">
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
<span class="text-subdued text-sm mr-2">$</span>
|
<span class="text-subdued text-sm mr-2"><%= budget_category.budgeted_spending_money.currency.symbol %></span>
|
||||||
<%= text_field_tag :uncategorized, budget_category.budgeted_spending_money, autocomplete: "off", class: "form-field__input text-right [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none", disabled: true %>
|
<%= text_field_tag :uncategorized, budget_category.budgeted_spending_money.amount, autocomplete: "off", class: "form-field__input text-right [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none", disabled: true %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue