Fix issue with not correctly removing dynamic filters when clearing all filters

This commit is contained in:
Andrew Kingston 2021-11-22 13:42:09 +00:00
parent aa46f15ff6
commit ab7959a32c
1 changed files with 2 additions and 0 deletions

View File

@ -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)
} }
} }