@omniumretail/component-library 1.3.34 → 1.3.35
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.
|
@@ -25086,6 +25086,7 @@ const ResponsiveTable = (props) => {
|
|
|
25086
25086
|
const cellIndex2 = selectedCells.findIndex(
|
|
25087
25087
|
(cell) => cell.rowKey === record[rowKeyValue] && cell.columnKey === key
|
|
25088
25088
|
);
|
|
25089
|
+
const isSelected2 = cellIndex2 !== -1;
|
|
25089
25090
|
const getBackgroundColor = () => {
|
|
25090
25091
|
if (templateEditMode && isSelected2) {
|
|
25091
25092
|
const selectedCell = selectedCells[cellIndex2];
|
|
@@ -25106,7 +25107,6 @@ const ResponsiveTable = (props) => {
|
|
|
25106
25107
|
return void 0;
|
|
25107
25108
|
};
|
|
25108
25109
|
const cellBackgroundColor = getBackgroundColor();
|
|
25109
|
-
const isSelected2 = cellIndex2 !== -1;
|
|
25110
25110
|
if (isDisabled) {
|
|
25111
25111
|
if (originalCellContent2?.type === "I" || originalCellContent2?.type === "L" || isReadonly) {
|
|
25112
25112
|
return /* @__PURE__ */ jsx(Tag, { color: originalCellContent2.color, style: { margin: -4, cursor: "not-allowed" }, children: originalCellContent2.type });
|