@megha-ui/react 1.2.564 → 1.2.566
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.
|
@@ -128,8 +128,10 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
128
128
|
var _a, _b;
|
|
129
129
|
let isArrayString = false;
|
|
130
130
|
if (isMultipleChips) {
|
|
131
|
-
const columnRowData = data.map(row => row[col.key].value).filter(item => item);
|
|
132
|
-
|
|
131
|
+
const columnRowData = data.map(row => { var _a, _b; return ((_b = (_a = row === null || row === void 0 ? void 0 : row[col.key]) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : ""); }).filter(item => item)[0];
|
|
132
|
+
if (columnRowData.toString().includes(">>")) {
|
|
133
|
+
isArrayString = true;
|
|
134
|
+
}
|
|
133
135
|
}
|
|
134
136
|
return Object.assign(Object.assign({}, col), { isArrayString, dataType: (_b = (_a = col.dataType) !== null && _a !== void 0 ? _a : columnData === null || columnData === void 0 ? void 0 : columnData[col.key]) !== null && _b !== void 0 ? _b : "string" });
|
|
135
137
|
});
|
package/package.json
CHANGED