@evergis/react 3.1.30 → 3.1.31
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/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/react.esm.js +6 -0
- package/dist/react.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -4166,6 +4166,12 @@ const applyQueryFilters = ({ parameters: configParameters, filters: configFilter
|
|
|
4166
4166
|
return {};
|
|
4167
4167
|
}
|
|
4168
4168
|
return Object.keys(configParameters).reduce((result, key) => {
|
|
4169
|
+
if (typeof configParameters[key] !== "string" || !configParameters[key].startsWith("%")) {
|
|
4170
|
+
return {
|
|
4171
|
+
...result,
|
|
4172
|
+
[key]: configParameters[key]
|
|
4173
|
+
};
|
|
4174
|
+
}
|
|
4169
4175
|
const filterFullName = configParameters[key].replace("%", "");
|
|
4170
4176
|
const [filterName, filterProp] = filterFullName.includes(".") ? filterFullName.split(".") : [filterFullName, null];
|
|
4171
4177
|
const { defaultValue, relatedDataSource, attributeAlias } = getConfigFilter(filterName, configFilters) || {};
|