Skip to content

Commit

Permalink
fix: footer item values
Browse files Browse the repository at this point in the history
  • Loading branch information
schummar committed Apr 25, 2022
1 parent beb38b3 commit bbcb1d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/columnFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function ColumnFooter() {

if (column?.footer instanceof Function) {
const items = state.activeItems;
const values = items.map((item) => column?.value(item));
const values = items.map((item) => column?.value(item.value));
return column?.footer(values, items);
}

Expand Down

0 comments on commit bbcb1d3

Please sign in to comment.