This commit is contained in:
Lachlan Kermode
2018-12-13 12:42:53 +00:00
parent bbea550c87
commit 84237fcf14

View File

@@ -37,7 +37,7 @@ export const fmtObj = R.curry(
}
}
columnNames.forEach((columnName, idx) => {
const value = row[idx] ? row[idx] : ""
const value = row[idx] ? row[idx] : ''
obj[fmtColName(columnName)] = value
})
return obj