maybe
maybe copied to clipboard
fix: use correct delimiter on credit card zero values
After recent fixes, the credit card view displays 0 by default on Minimum Payment and Annual Fee. However, the format is wrong. On zero values, the two digits after the delimiter are the decimals, and this is the current behaviour on other sections, like the dashboard.
For example, this is correct:
But this is not:
This PR resolves this issue, the credit card Minimum Payment and Annual Fee now display the correct delimiter on empty values:
I haven't seen any issues related to this, so I can't link one.
First time contributing and first time using ruby, I'll be happy to hear about your feedback.
Cheers.