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) => {