@omniumretail/component-library 1.3.24 → 1.3.25
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.
|
@@ -25080,7 +25080,8 @@ const ResponsiveTable = (props) => {
|
|
|
25080
25080
|
const selectedCell = selectedCells[cellIndex2];
|
|
25081
25081
|
const cellColor = selectedCell?.value?.color || selectedCellColor;
|
|
25082
25082
|
const cellType = selectedCell?.value?.type || "X";
|
|
25083
|
-
|
|
25083
|
+
const isLicenseType = cellType === "L";
|
|
25084
|
+
return /* @__PURE__ */ jsx(Tag, { color: cellColor, style: { margin: -4, cursor: isLicenseType ? "not-allowed" : "pointer" }, children: cellType });
|
|
25084
25085
|
}
|
|
25085
25086
|
if (originalCellContent2) {
|
|
25086
25087
|
return /* @__PURE__ */ jsx(Tag, { color: originalCellContent2.color, style: { margin: -4 }, children: originalCellContent2.type });
|
|
@@ -25092,6 +25093,9 @@ const ResponsiveTable = (props) => {
|
|
|
25092
25093
|
{
|
|
25093
25094
|
onClick: (e) => {
|
|
25094
25095
|
e.stopPropagation();
|
|
25096
|
+
if (isSelected2 && selectedCells[cellIndex2]?.value?.type === "L") {
|
|
25097
|
+
return;
|
|
25098
|
+
}
|
|
25095
25099
|
handleCellClick(record, key);
|
|
25096
25100
|
},
|
|
25097
25101
|
className: classNames(
|