Skip to content

Commit 05fd605

Browse files
authored
Update sanitize-row.js
1 parent 38d915d commit 05fd605

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/table/helpers/sanitize-row.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ const sanitizeRow = (row, ignoreFields, includeFields, fieldsObj = {}) => {
1111
.filter(k => !IGNORED_FIELD_KEYS[k])
1212
.filter(k => !ignore || !arrayIncludes(ignore, k))
1313
.filter(k => !include || arrayIncludes(include, k))
14+
// TODO:
15+
// format the row first, and map "deep" keys to top-level keys, then stringify/filter the results
1416
return keys(row).reduce((obj, key) => {
1517
// Filter top level keys in the row
1618
// Ignore special fields that start with `_`

0 commit comments

Comments
 (0)