@omniumretail/component-library 1.3.5 → 1.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25044,13 +25044,13 @@ const ResponsiveTable = (props) => {
25044
25044
  );
25045
25045
  }
25046
25046
  if (!useOrderedCellSelection) {
25047
- const cellContent = originalCellContent && typeof originalCellContent === "object" ? originalCellContent : isSelected ? /* @__PURE__ */ jsx(Tag, { color: "grey", style: { margin: -4 }, children: "X" }) : originalCellContent;
25047
+ const cellContent = isSelected ? /* @__PURE__ */ jsx(Tag, { color: "grey", style: { margin: -4 }, children: "X" }) : originalCellContent ? /* @__PURE__ */ jsx(Tag, { color: originalCellContent.color, style: { margin: -4 }, children: originalCellContent.type }) : null;
25048
25048
  return /* @__PURE__ */ jsx(
25049
25049
  "div",
25050
25050
  {
25051
25051
  onClick: (e) => {
25052
25052
  e.stopPropagation();
25053
- handleCellClick(record, key, value);
25053
+ handleCellClick(record, key, originalCellContent);
25054
25054
  },
25055
25055
  className: classNames(
25056
25056
  styles$7.selectableCell,