Skip to content

Commit 01dc264

Browse files
author
Jacky Li
committed
bugfix: bad export on Action column condition
DEVSU-2108
1 parent de5980e commit 01dc264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/DataTable/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ const DataTable = ({
420420
columnKeys: colApi.getAllDisplayedColumns()
421421
.filter((col) => {
422422
const colD = col.getColDef();
423-
return (colD?.headerName === 'Actions' || colD?.field === 'Actions' || col.getColId() === 'Actions');
423+
return !(colD?.headerName === 'Actions' || colD?.field === 'Actions' || col.getColId() === 'Actions');
424424
})
425425
.map((col) => col.getColId()),
426426
fileName: `ipr_${report.patientId}_${report.ident}_${titleText.split(' ').join('_')}_${date}.tsv`,

0 commit comments

Comments
 (0)