From 3e2ccd8d3cae59a9239ee15e300fbcdf0cbe4609 Mon Sep 17 00:00:00 2001 From: Ehsan Rezaei Date: Mon, 24 Aug 2026 18:59:56 +0200 Subject: [PATCH] AAE-49653 Updating the comment --- .../process-filters/process-filters-cloud.component.ts | 2 +- .../components/task-filters/task-filters-cloud.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/process-services-cloud/src/lib/process/process-filters/components/process-filters/process-filters-cloud.component.ts b/lib/process-services-cloud/src/lib/process/process-filters/components/process-filters/process-filters-cloud.component.ts index 8af2969b68..bc112e1a83 100644 --- a/lib/process-services-cloud/src/lib/process/process-filters/components/process-filters/process-filters-cloud.component.ts +++ b/lib/process-services-cloud/src/lib/process/process-filters/components/process-filters/process-filters-cloud.component.ts @@ -284,7 +284,7 @@ export class ProcessFiltersCloudComponent implements OnInit, OnChanges { return; } - /* `defer` keeps a query that cannot be built from breaking the counters of the other filters. */ + /* Building the query throws for a malformed filter: `defer` turns that into a stream error to catch. */ defer(() => this.fetchProcessFilterCounter(filter)) .pipe( catchError(() => EMPTY), diff --git a/lib/process-services-cloud/src/lib/task/task-filters/components/task-filters/task-filters-cloud.component.ts b/lib/process-services-cloud/src/lib/task/task-filters/components/task-filters/task-filters-cloud.component.ts index 69fdfba96a..86531496b2 100644 --- a/lib/process-services-cloud/src/lib/task/task-filters/components/task-filters/task-filters-cloud.component.ts +++ b/lib/process-services-cloud/src/lib/task/task-filters/components/task-filters/task-filters-cloud.component.ts @@ -164,7 +164,7 @@ export class TaskFiltersCloudComponent extends BaseTaskFiltersCloudComponent imp return; } - /* `defer` keeps a query that cannot be built from breaking the counters of the other filters. */ + /* Building the query throws for a malformed filter: `defer` turns that into a stream error to catch. */ defer(() => this.fetchTaskFilterCounter(filter)) .pipe( catchError(() => EMPTY),