@megha-ui/react 1.2.586 → 1.2.587
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.
|
@@ -130,7 +130,6 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
130
130
|
if (isMultipleChips) {
|
|
131
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);
|
|
132
132
|
if (columnRowData.length > 0 && columnRowData.some(item => { var _a; return (_a = (item !== null && item !== void 0 ? item : "").toString()) === null || _a === void 0 ? void 0 : _a.includes(">>"); })) {
|
|
133
|
-
console.log(col.key, col.label, { columnRowData: columnRowData.filter(item => { var _a; return (_a = (item !== null && item !== void 0 ? item : "").toString()) === null || _a === void 0 ? void 0 : _a.includes(">>"); }) });
|
|
134
133
|
isArrayString = true;
|
|
135
134
|
}
|
|
136
135
|
}
|
|
@@ -225,6 +224,7 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
225
224
|
case "doesNotEqual":
|
|
226
225
|
return !queryData.includes(value.toLowerCase());
|
|
227
226
|
case "startsWith":
|
|
227
|
+
console.log({ value, query });
|
|
228
228
|
return value.toLowerCase().startsWith(query.toLowerCase());
|
|
229
229
|
case "endsWith":
|
|
230
230
|
return value.toLowerCase().endsWith(query.toLowerCase());
|
package/package.json
CHANGED