OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Correct backRouting by undoing changes of PR 9556 wich are obsolete by now
Henriette Dargeaa194469a4bb
diff --git a/frontend/src/app/features/work-packages/components/back-routing/back-routing.service.ts b/frontend/src/app/features/work-packages/components/back-routing/back-routing.service.tsindex a94051e48b1..097c989a2f2 100644--- a/frontend/src/app/features/work-packages/components/back-routing/back-routing.service.ts+++ b/frontend/src/app/features/work-packages/components/back-routing/back-routing.service.ts@@ -49,7 +49,7 @@ export class BackRoutingService {constructor(readonly injector:Injector) {}- public goToOtherState(route:string, params:Record<string, unknown>):Promise<unknown> {+ private goToOtherState(route:string, params:Record<string, unknown>):Promise<unknown> {return this.$state.go(route, params);}diff --git a/frontend/src/app/features/work-packages/routing/work-packages-routes.ts b/frontend/src/app/features/work-packages/routing/work-packages-routes.tsindex 022e7f636bd..b3fd2465293 100644--- a/frontend/src/app/features/work-packages/routing/work-packages-routes.ts+++ b/frontend/src/app/features/work-packages/routing/work-packages-routes.ts@@ -64,7 +64,6 @@ export const WORK_PACKAGES_ROUTES:Ng2StateDeclaration[] = [component: WorkPackageNewFullViewComponent,reloadOnSearch: false,data: {- parent: 'work-packages',baseRoute: 'work-packages',allowMovingInEditMode: true,bodyClasses: 'router--work-packages-full-create',@@ -77,7 +76,6 @@ export const WORK_PACKAGES_ROUTES:Ng2StateDeclaration[] = [component: WorkPackageCopyFullViewComponent,reloadOnSearch: false,data: {- parent: 'work-packages',baseRoute: 'work-packages',allowMovingInEditMode: true,bodyClasses: 'router--work-packages-full-create',@@ -97,7 +95,6 @@ export const WORK_PACKAGES_ROUTES:Ng2StateDeclaration[] = [},component: WorkPackagesFullViewComponent,data: {- parent: 'work-packages',baseRoute: 'work-packages',bodyClasses: 'router--work-packages-full-view',newRoute: 'work-packages.new',@@ -109,7 +106,7 @@ export const WORK_PACKAGES_ROUTES:Ng2StateDeclaration[] = [url: '/:tabIdentifier',component: WpTabWrapperComponent,data: {- parent: 'work-packages',+ parent: 'work-packages.show',menuItem: menuItemClass,},},@@ -118,7 +115,6 @@ export const WORK_PACKAGES_ROUTES:Ng2StateDeclaration[] = [component: WorkPackageViewPageComponent,url: '',data: {- parent: 'work-packages',// This has to be empty to avoid inheriting the parent bodyClassesbodyClasses: '',},@@ -131,7 +127,6 @@ export const WORK_PACKAGES_ROUTES:Ng2StateDeclaration[] = ['content-left': { component: WorkPackageListViewComponent },},data: {- parent: 'work-packages',bodyClasses: 'router--work-packages-partitioned-split-view',menuItem: menuItemClass,partition: '-left-only',diff --git a/frontend/src/app/shared/components/calendar/openproject-calendar.module.ts b/frontend/src/app/shared/components/calendar/openproject-calendar.module.tsindex 44cd619aec8..b1e5d097ab5 100644--- a/frontend/src/app/shared/components/calendar/openproject-calendar.module.ts+++ b/frontend/src/app/shared/components/calendar/openproject-calendar.module.ts@@ -48,6 +48,7 @@ export const CALENDAR_ROUTES:Ng2StateDeclaration[] = [data: {bodyClasses: 'router--work-packages-calendar',menuItem: menuItemClass,+ parent: 'work-packages',},},];