1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-21 14:19:39 +02:00

bug: Use correct currency value while setting the currency. (#2018)
Some checks failed
Publish Docker image / ci (push) Has been cancelled
Publish Docker image / Build docker image (push) Has been cancelled

Fixes: #1754.
This commit is contained in:
Joseph Ho 2025-03-24 10:06:29 -04:00 committed by GitHub
parent 9f062de6b4
commit 8e6b81af77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,7 @@
<div> <div>
<%= form.select currency_method, <%= form.select currency_method,
currencies_for_select.map(&:iso_code), currencies_for_select.map(&:iso_code),
{ inline: true, selected: currency_value }, { inline: true, selected: currency.iso_code },
{ {
class: "w-fit pr-5 disabled:text-subdued form-field__input", class: "w-fit pr-5 disabled:text-subdued form-field__input",
disabled: options[:disable_currency], disabled: options[:disable_currency],