From 94b6720f47c5f7eb6cba4474666f888db72d0c26 Mon Sep 17 00:00:00 2001 From: Robert Duda Date: Wed, 22 Jan 2025 11:40:04 +0100 Subject: [PATCH] AAE-30162 Fix duplicated call for user tasks --- .../base-task-list-cloud.component.ts | 23 ++----------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/lib/process-services-cloud/src/lib/task/task-list/components/base-task-list-cloud.component.ts b/lib/process-services-cloud/src/lib/task/task-list/components/base-task-list-cloud.component.ts index d0da5d4db8..eb8a68b4d6 100644 --- a/lib/process-services-cloud/src/lib/task/task-list/components/base-task-list-cloud.component.ts +++ b/lib/process-services-cloud/src/lib/task/task-list/components/base-task-list-cloud.component.ts @@ -15,19 +15,7 @@ * limitations under the License. */ -import { - AfterContentInit, - ContentChild, - DestroyRef, - Directive, - EventEmitter, - inject, - Input, - OnChanges, - OnInit, - Output, - SimpleChanges -} from '@angular/core'; +import { ContentChild, DestroyRef, Directive, EventEmitter, inject, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core'; import { AppConfigService, CustomEmptyContentTemplateDirective, @@ -90,10 +78,7 @@ const taskPresetsCloudDefaultModel = { @Directive() // eslint-disable-next-line @angular-eslint/directive-class-suffix -export abstract class BaseTaskListCloudComponent - extends DataTableSchema - implements OnChanges, AfterContentInit, PaginatedComponent, OnInit -{ +export abstract class BaseTaskListCloudComponent extends DataTableSchema implements OnChanges, PaginatedComponent, OnInit { @ContentChild(CustomEmptyContentTemplateDirective) emptyCustomContent: CustomEmptyContentTemplateDirective; @@ -276,10 +261,6 @@ export abstract class BaseTaskListCloudComponent ); } - ngAfterContentInit(): void { - this.retrieveTasksPreferences(); - } - isListEmpty(): boolean { return !this.rows || this.rows.length === 0; }