@omniumretail/component-library 1.3.0 → 1.3.1
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.
|
@@ -25041,21 +25041,21 @@ const ResponsiveTable = (props) => {
|
|
|
25041
25041
|
);
|
|
25042
25042
|
}
|
|
25043
25043
|
if (!useOrderedCellSelection && isSelected) {
|
|
25044
|
-
const
|
|
25044
|
+
const cellContent = record[key];
|
|
25045
|
+
console.log(record, cellContent);
|
|
25045
25046
|
return /* @__PURE__ */ jsx(
|
|
25046
25047
|
"div",
|
|
25047
25048
|
{
|
|
25048
25049
|
onClick: (e) => {
|
|
25049
25050
|
e.stopPropagation();
|
|
25050
|
-
handleCellClick(record, key,
|
|
25051
|
+
handleCellClick(record, key, cellContent);
|
|
25051
25052
|
},
|
|
25052
25053
|
className: classNames(
|
|
25053
25054
|
styles$7.selectableCell,
|
|
25054
|
-
|
|
25055
|
-
|
|
25055
|
+
styles$7.selected,
|
|
25056
|
+
styles$7.uniformSelection
|
|
25056
25057
|
),
|
|
25057
|
-
|
|
25058
|
-
children: type ? /* @__PURE__ */ jsx(Tag, { color, children: type }) : cellValue
|
|
25058
|
+
children: cellContent
|
|
25059
25059
|
}
|
|
25060
25060
|
);
|
|
25061
25061
|
}
|