Skip to content

Commit

Permalink
fixed issue where if the initial value was zero the formatter would n…
Browse files Browse the repository at this point in the history
…ot get called
  • Loading branch information
joepuzzo committed Jan 19, 2023
1 parent ed685cd commit c14215c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 4.39.2 (January 19th, 2023)

### Fixed

- issue where if the initial value was zero the formatter would not get called

## 4.39.1 (January 18th, 2023)

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ export const informedFormatter = (val, frmtr, old, full) => {
debug('Full Value', full);

// Null check
if (!val) {
if (val == null) {
return {
value: val,
offset: 0
Expand Down

0 comments on commit c14215c

Please sign in to comment.