fix type
This commit is contained in:
parent
5679acb868
commit
3d9a7e5ddf
|
@ -406,7 +406,7 @@ export const runLuceneQuery = (docs: any[], query?: SearchQuery) => {
|
||||||
notContains: notContains,
|
notContains: notContains,
|
||||||
}
|
}
|
||||||
|
|
||||||
const activeFilterKeys: SearchQueryOperators[] = Object.entries(query)
|
const activeFilterKeys: SearchQueryOperators[] = Object.entries(query || {})
|
||||||
.filter(
|
.filter(
|
||||||
([key, value]: [string, any]) =>
|
([key, value]: [string, any]) =>
|
||||||
!["allOr", "onEmptyFilter"].includes(key) &&
|
!["allOr", "onEmptyFilter"].includes(key) &&
|
||||||
|
|
Loading…
Reference in New Issue