Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed default currency code in currency field #5028

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

lucasbordeau
Copy link
Contributor

Default currency logic was not handling a specific case where the default currency is empty in the field metadata.

I fixed the ternary cascade and made it more explicit, thus also avoiding falling into having an empty currency code being persisted.

@charlesBochet charlesBochet merged commit bc5cfd0 into main Apr 18, 2024
9 checks passed
@charlesBochet charlesBochet deleted the fix/currency-field-2 branch April 18, 2024 09:25
arnavsaxena17 pushed a commit to arnavsaxena17/twenty that referenced this pull request Oct 6, 2024
Default currency logic was not handling a specific case where the
default currency is empty in the field metadata.

I fixed the ternary cascade and made it more explicit, thus also
avoiding falling into having an empty currency code being persisted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants