Skip to content

Commit

Permalink
Merge pull request #17332 from opf/fix/do-not-reload-relations-on-par…
Browse files Browse the repository at this point in the history
…ent-udpate

Do not reload the relations tab after a hierarchy change.
  • Loading branch information
ulferts authored Dec 3, 2024
2 parents 3802883 + 85929e6 commit 148c6fd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 148c6fd

Please sign in to comment.