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 3c7f3ee694
commit 6f37fc27e1
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@
if (filters?.length) {
const queryExtension = buildLuceneQuery(filters)
addExtension?.($component.id, queryExtension)
} else {
removeExtension?.($component.id)
}
}