Fix issue with not correctly removing dynamic filters when clearing all filters
This commit is contained in:
parent
aa46f15ff6
commit
ab7959a32c
|
@ -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