Skip to content

Commit

Permalink
CM-808: aggregation column for individual data upload (#76)
Browse files Browse the repository at this point in the history
* CM-808: add aggregation column for import

* CM-808: fix headers

* CM-808: aggregation column adjustments
  • Loading branch information
jdolkowski authored May 16, 2024
1 parent a74851d commit 373688b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/dialogs/IndividualsUploadDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ function IndividualsUploadDialog({
if (selectedFile) {
try {
const fileHeaders = await getHeadersFromCSV(selectedFile);
const filteredHeaders = fileHeaders.filter((header) => header !== 'recipient_info');
const filteredHeaders = fileHeaders.filter(
(header) => header !== 'recipient_info' && header !== 'group_id',
);
setHeaders(filteredHeaders);
} catch (error) {
setHeaders([]);
Expand Down

0 comments on commit 373688b

Please sign in to comment.