empty if no header

This commit is contained in:
Julian Freeman
2026-03-12 09:08:15 -04:00
parent 6f023006dc
commit 41455fa4ee
4 changed files with 8 additions and 9 deletions

View File

@@ -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;
});