Skip to content

Commit

Permalink
TableUtils - Test default values
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinorland committed Aug 6, 2018
1 parent 2d97081 commit e8f8d48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/utils/src/tableUtils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export const rowsFromObject = (object, fields, skipEmptyValues, defaultTransform

// Empty values are empty strings (normalised above)
// We never render null
/* istanbul ignore else */
if (result !== null && !(skipEmptyValues && result === '')) {
table.rows.push([heading, result]);
table.names.push(nameAttribute);
Expand Down

0 comments on commit e8f8d48

Please sign in to comment.