From d6c88d10f550e8358676e919bd93c951879ff709 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Fri, 25 Oct 2024 16:27:09 +0200 Subject: [PATCH] Fix current filter reset on click --- client/web/compose/src/components/Common/FilterToolbox.vue | 4 +--- client/web/compose/src/components/Common/RecordListFilter.vue | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/client/web/compose/src/components/Common/FilterToolbox.vue b/client/web/compose/src/components/Common/FilterToolbox.vue index 04b56745c..77c740b25 100644 --- a/client/web/compose/src/components/Common/FilterToolbox.vue +++ b/client/web/compose/src/components/Common/FilterToolbox.vue @@ -76,14 +76,13 @@ @@ -306,7 +307,7 @@ export default { // If no filterGroups, add default if (!this.componentFilter.length) { this.componentFilter.push(this.createDefaultFilterGroup(undefined, this.selectedField)) - } else if (!this.inFilter) { + } else if (this.selectedField && !this.inFilter) { this.addFilter(0) } },