From 85929e6c4868940decc46d812bc452eb709c0cd9 Mon Sep 17 00:00:00 2001 From: Henriette Darge Date: Tue, 3 Dec 2024 07:59:14 +0100 Subject: [PATCH] Parents are not part of the relations tab and thus a parent change does not have to to update the tab --- .../components/wp-relations/wp-relations.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/features/work-packages/components/wp-relations/wp-relations.component.ts b/frontend/src/app/features/work-packages/components/wp-relations/wp-relations.component.ts index b1f93d9f1718..ffd5323c82f9 100644 --- a/frontend/src/app/features/work-packages/components/wp-relations/wp-relations.component.ts +++ b/frontend/src/app/features/work-packages/components/wp-relations/wp-relations.component.ts @@ -93,7 +93,9 @@ export class WorkPackageRelationsComponent extends UntilDestroyedMixin implement .events$ .pipe( filter((e:RelatedWorkPackageEvent) => { - return e.eventType === 'association' && e.id.toString() === this.workPackage.id?.toString(); + return e.eventType === 'association' + && e.id.toString() === this.workPackage.id?.toString() + && e.relationType !== 'parent'; }), debounceTime(500), this.untilDestroyed(),