Skip to content

Commit

Permalink
Fixed commas breaking csv exports
Browse files Browse the repository at this point in the history
  • Loading branch information
edward-j-liu committed Oct 25, 2024
1 parent 7d07a04 commit 58c2cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/screens/export-to-csv-flow/ExportToCSV.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const ExportToCSV = () => {
} else if (q.type === 'number') {
row.push(report.data[i]);
} else if (q.type === 'textbox') {
row.push(report.data[i]);
row.push(`"${report.data[i]}"`);
} else if (q.type === 'checkboxes') {
row.push('"' + report.data[i].join(',') + '"');
}
Expand Down

0 comments on commit 58c2cef

Please sign in to comment.