@omniumretail/component-library 1.3.52 → 1.3.53
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.
|
@@ -25267,16 +25267,6 @@ const ResponsiveTable = (props) => {
|
|
|
25267
25267
|
}
|
|
25268
25268
|
if (templateEditMode) {
|
|
25269
25269
|
const isRuleType = (type) => type !== "S" && type !== "D" && type !== "F";
|
|
25270
|
-
if (originalCellContent?.type === "F" || originalCellContent?.type === "S" || originalCellContent?.type === "D") {
|
|
25271
|
-
return /* @__PURE__ */ jsx(
|
|
25272
|
-
Tag,
|
|
25273
|
-
{
|
|
25274
|
-
color: originalCellContent.color,
|
|
25275
|
-
style: { margin: -4, cursor: "pointer" },
|
|
25276
|
-
children: originalCellContent.type
|
|
25277
|
-
}
|
|
25278
|
-
);
|
|
25279
|
-
}
|
|
25280
25270
|
const wasRemoved = isSelected && selectedCells[cellIndex]?.value?.type === null && originalCellContent?.type && isRuleType(originalCellContent.type);
|
|
25281
25271
|
if (wasRemoved) {
|
|
25282
25272
|
return null;
|
|
@@ -25295,6 +25285,16 @@ const ResponsiveTable = (props) => {
|
|
|
25295
25285
|
}
|
|
25296
25286
|
);
|
|
25297
25287
|
}
|
|
25288
|
+
if (originalCellContent?.type) {
|
|
25289
|
+
return /* @__PURE__ */ jsx(
|
|
25290
|
+
Tag,
|
|
25291
|
+
{
|
|
25292
|
+
color: originalCellContent.color,
|
|
25293
|
+
style: { margin: -4, cursor: "pointer" },
|
|
25294
|
+
children: originalCellContent.type
|
|
25295
|
+
}
|
|
25296
|
+
);
|
|
25297
|
+
}
|
|
25298
25298
|
return null;
|
|
25299
25299
|
}
|
|
25300
25300
|
if (isSelected) {
|