We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92635c1 commit 53d219eCopy full SHA for 53d219e
src/components/tableV2/core/rows.js
@@ -81,8 +81,16 @@ const Rows = ({
81
width={cell.column.getSize()}
82
onMouseEnter={() => onHover({ row: row.id, column: cell.column.id })}
83
onMouseLeave={() => onHover()}
84
- tableMeta={cell.column.columnDef.tableMeta}
85
- meta={cell.column.columnDef.meta}
+ tableMeta={
+ typeof cell.column.columnDef.tableMeta === "function"
86
+ ? cell.column.columnDef.tableMeta(row.original)
87
+ : cell.column.columnDef.tableMeta
88
+ }
89
+ meta={
90
+ typeof cell.column.columnDef.meta === "function"
91
+ ? cell.column.columnDef.meta(row.original)
92
+ : cell.column.columnDef.meta
93
94
{...(cell.column.getCanSort() &&
95
coloredSortedColumn &&
96
!!cell.column.getIsSorted() && {
0 commit comments