Skip to content

Commit

Permalink
Minor code cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiVolland committed Jan 22, 2019
1 parent 00c749b commit 067aa4d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Util/FilterUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,8 @@ class FilterUtil {
}
let matchesFilter: boolean = true;
const operator: Operator = filter[0];
let isNestedFilter: boolean = false;
if (FilterUtil.nestingOperators.includes[operator]) {
isNestedFilter = true;
}
const isNestedFilter = FilterUtil.nestingOperators.includes[operator];

if (isNestedFilter) {
matchesFilter = FilterUtil.handleNestedFilter(filter, feature);
} else {
Expand Down

0 comments on commit 067aa4d

Please sign in to comment.