Skip to content

Commit

Permalink
fix(cohort): fixes email field being empty while exporting current co…
Browse files Browse the repository at this point in the history
…lumns in cohort (#18928)

fixes cohort export

Co-authored-by: Neil Kakkar <[email protected]>
  • Loading branch information
ahsan722505 and neilkakkar authored Dec 21, 2023
1 parent 8865be4 commit 4e3809a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/queries/nodes/DataTable/DataTableExport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async function startDownload(query: DataTableNode, onlySelectedColumns: boolean)
)
} else if (isPersonsNode(query.source)) {
exportContext['columns'] = exportContext['columns'].map((c: string) =>
removeExpressionComment(c) === 'person' ? 'properties.email' : c
removeExpressionComment(c) === 'person' ? 'email' : c
)
}
}
Expand Down

0 comments on commit 4e3809a

Please sign in to comment.