From c3efccf23fafb911ad4088bdd0522b7efd368f01 Mon Sep 17 00:00:00 2001 From: Henriette Darge Date: Thu, 26 Mar 2026 14:38:28 +0100 Subject: [PATCH] Update work-package-single-view.base.ts --- .../routing/wp-view-base/work-package-single-view.base.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/features/work-packages/routing/wp-view-base/work-package-single-view.base.ts b/frontend/src/app/features/work-packages/routing/wp-view-base/work-package-single-view.base.ts index fbf5c751c584..9e12b28fafbc 100644 --- a/frontend/src/app/features/work-packages/routing/wp-view-base/work-package-single-view.base.ts +++ b/frontend/src/app/features/work-packages/routing/wp-view-base/work-package-single-view.base.ts @@ -157,8 +157,10 @@ export abstract class WorkPackageSingleViewBase extends UntilDestroyedMixin { this.workPackage = wp; } - // Push the current title - this.titleService.setFirstPart(this.workPackage.subjectWithType(-1)); + if (this.routedFromAngular) { + // Push the current title + this.titleService.setFirstPart(this.workPackage.subjectWithType(-1)); + } this.cdRef.detectChanges(); }, (error) => {