@ctlyst.id/internal-ui 5.3.1 → 5.3.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -1394,7 +1394,7 @@ var DataTable = React5.forwardRef((props, ref) => {
|
|
1394
1394
|
),
|
1395
1395
|
/* @__PURE__ */ jsx24(Tbody, { ...styles == null ? void 0 : styles.tableBody, children: table.getRowModel().rows.map((row, index) => {
|
1396
1396
|
const isDisabledRow = disabledRow && disabledRow(row.original);
|
1397
|
-
const isHighlightedRow = Object.keys(selectedRow != null ? selectedRow : {}).includes(row.id) || highlightedRow && highlightedRow(row.original);
|
1397
|
+
const isHighlightedRow = Object.keys(selectedRow != null ? selectedRow : {}).filter((key) => selectedRow == null ? void 0 : selectedRow[key]).includes(row.id) || highlightedRow && highlightedRow(row.original);
|
1398
1398
|
return /* @__PURE__ */ jsx24(
|
1399
1399
|
Tr,
|
1400
1400
|
{
|