Fix issue with not correctly removing dynamic filters when clearing all filters
This commit is contained in:
parent
3c7f3ee694
commit
6f37fc27e1
|
@ -35,6 +35,8 @@
|
||||||
if (filters?.length) {
|
if (filters?.length) {
|
||||||
const queryExtension = buildLuceneQuery(filters)
|
const queryExtension = buildLuceneQuery(filters)
|
||||||
addExtension?.($component.id, queryExtension)
|
addExtension?.($component.id, queryExtension)
|
||||||
|
} else {
|
||||||
|
removeExtension?.($component.id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue