empty if no header
This commit is contained in:
@@ -57,7 +57,7 @@ function doPost(e) {
|
||||
// 3. Map data to the (potentially updated) existingHeaders
|
||||
var row = existingHeaders.map(function(header) {
|
||||
var val = data[header];
|
||||
if (val === undefined || val === null) return "N/A";
|
||||
if (val === undefined || val === null) return "";
|
||||
if (typeof val === 'object') return JSON.stringify(val);
|
||||
return val;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user