@redsift/table 11.2.1-muiv5 → 11.2.2-muiv5-patch.0
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.
- package/index.js +4 -4
- package/index.js.map +1 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -18143,7 +18143,7 @@ const getFilterModelFromString = (searchString, columns) => {
|
|
|
18143
18143
|
searchParams.set(key, value);
|
|
18144
18144
|
}
|
|
18145
18145
|
if (key === '_logicOperator') {
|
|
18146
|
-
linkOperator = value;
|
|
18146
|
+
linkOperator = value === GridLinkOperator.And || value === GridLinkOperator.Or ? value : GridLinkOperator.And;
|
|
18147
18147
|
}
|
|
18148
18148
|
}
|
|
18149
18149
|
let id = 5000;
|
|
@@ -18493,9 +18493,9 @@ const getPinnedColumnsFromString = (notParsed, tableColumns) => {
|
|
|
18493
18493
|
pinnedColumns['right'] = columns;
|
|
18494
18494
|
}
|
|
18495
18495
|
}
|
|
18496
|
-
return pinnedColumns
|
|
18497
|
-
left: pinnedColumns
|
|
18498
|
-
right: pinnedColumns
|
|
18496
|
+
return pinnedColumns.left && pinnedColumns.left.length > 0 || pinnedColumns.right && pinnedColumns.right.length > 0 ? {
|
|
18497
|
+
left: pinnedColumns.left || [],
|
|
18498
|
+
right: pinnedColumns.right || []
|
|
18499
18499
|
} : 'invalid';
|
|
18500
18500
|
};
|
|
18501
18501
|
const getSearchParamsFromPinnedColumns = pinnedColumns => {
|