From 30cf2fbce3fdc583d915cb8ec46a5cd7e743e8d5 Mon Sep 17 00:00:00 2001 From: PC0 Date: Mon, 11 Mar 2024 14:08:42 +0330 Subject: [PATCH] no need to filter when removeConstraint called and showApplyButton is visible exactly like onOperatorChange --- src/app/components/table/table.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/components/table/table.ts b/src/app/components/table/table.ts index a0187193892..b0ae0785d63 100644 --- a/src/app/components/table/table.ts +++ b/src/app/components/table/table.ts @@ -5447,7 +5447,9 @@ export class ColumnFilter implements AfterContentInit { removeConstraint(filterMeta: FilterMetadata) { this.dt.filters[this.field] = (this.dt.filters[this.field]).filter((meta) => meta !== filterMeta); - this.dt._filter(); + if (!this.showApplyButton) { + this.dt._filter(); + } DomHandler.focus(this.clearButtonViewChild.nativeElement); }