forked from twentyhq/twenty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed default currency code in currency field (twentyhq#5028)
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.
- Loading branch information
1 parent
7065495
commit bc5cfd0
Showing
1 changed file
with
20 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters