Removed HeaderGroup types on CSV export
This commit is contained in:
@@ -1004,7 +1004,7 @@ export default function PaymentRecord() {
|
||||
const whitelist = whitelists[selectedIndex];
|
||||
const columns = currentTable
|
||||
.getHeaderGroups()
|
||||
.reduce((accm: SimpleCSVColumn[], group: HeaderGroup<Payment | PaypalPaymentWithUserData>) => {
|
||||
.reduce((accm: SimpleCSVColumn[], group) => {
|
||||
const whitelistedColumns = group.headers.filter((header) =>
|
||||
whitelist.includes(header.id)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user