Skip to content

Commit

Permalink
fix: fix request bug
Browse files Browse the repository at this point in the history
  • Loading branch information
volishevko committed Oct 11, 2023
1 parent 24b70e8 commit f570532
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sources/models/appliedFilters.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,12 @@ function prepareDataForList() {
function processNewFilters(data) {
if (Array.isArray(data)) {
data.forEach((item) => {
// eslint-disable-next-line no-use-before-define
processNewFilter(item);
});
}
else if (data) {
// eslint-disable-next-line no-use-before-define
processNewFilter(data);
}
}
Expand Down Expand Up @@ -210,7 +212,7 @@ function _prepareRangeCondition(filter, result) {
value: `[${currentFilterValue.from} TO ${currentFilterValue.to}}`,
operator: "OR",
openingBracket: "",
closingBracket: ")",
closingBracket: "",
type: filter.datatype
});
}
Expand Down

0 comments on commit f570532

Please sign in to comment.