@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 CHANGED
@@ -1742,7 +1742,7 @@ var DataTable = React5.forwardRef((props, ref) => {
1742
1742
  ),
1743
1743
  /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react30.Tbody, { ...styles == null ? void 0 : styles.tableBody, children: table.getRowModel().rows.map((row, index) => {
1744
1744
  const isDisabledRow = disabledRow && disabledRow(row.original);
1745
- const isHighlightedRow = Object.keys(selectedRow != null ? selectedRow : {}).includes(row.id) || highlightedRow && highlightedRow(row.original);
1745
+ const isHighlightedRow = Object.keys(selectedRow != null ? selectedRow : {}).filter((key) => selectedRow == null ? void 0 : selectedRow[key]).includes(row.id) || highlightedRow && highlightedRow(row.original);
1746
1746
  return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1747
1747
  import_react30.Tr,
1748
1748
  {