@omniumretail/component-library 1.3.8 → 1.3.10
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.
|
@@ -25037,7 +25037,15 @@ const ResponsiveTable = (props) => {
|
|
|
25037
25037
|
);
|
|
25038
25038
|
}
|
|
25039
25039
|
if (!useOrderedCellSelection) {
|
|
25040
|
-
const cellContent =
|
|
25040
|
+
const cellContent = (() => {
|
|
25041
|
+
if (isSelected) {
|
|
25042
|
+
return /* @__PURE__ */ jsx(Tag, { color: "grey", style: { margin: -4 }, children: "X" });
|
|
25043
|
+
}
|
|
25044
|
+
if (originalCellContent) {
|
|
25045
|
+
return /* @__PURE__ */ jsx(Tag, { color: originalCellContent.color, style: { margin: -4 }, children: originalCellContent.type });
|
|
25046
|
+
}
|
|
25047
|
+
return null;
|
|
25048
|
+
})();
|
|
25041
25049
|
return /* @__PURE__ */ jsx(
|
|
25042
25050
|
"div",
|
|
25043
25051
|
{
|
|
@@ -25186,7 +25194,7 @@ const ResponsiveTable = (props) => {
|
|
|
25186
25194
|
);
|
|
25187
25195
|
setCustomFilters(filters);
|
|
25188
25196
|
}
|
|
25189
|
-
}, [dataSource
|
|
25197
|
+
}, [dataSource]);
|
|
25190
25198
|
const shouldRenderSortDropdown = customFilters.length > 0;
|
|
25191
25199
|
const tableWrapperClasses = classNames({
|
|
25192
25200
|
[styles$7.tableWrapperNoSelection]: !rowSelection
|