diff --git a/frontend/src/app/modules/grids/openproject-grids.module.ts b/frontend/src/app/modules/grids/openproject-grids.module.ts index 5e2fe922ed..8d1794ddda 100644 --- a/frontend/src/app/modules/grids/openproject-grids.module.ts +++ b/frontend/src/app/modules/grids/openproject-grids.module.ts @@ -57,6 +57,10 @@ export const GRID_ROUTES:Ng2StateDeclaration[] = [ name: 'my_page', url: '/my/page', component: MyPageComponent, + data: { + bodyClasses: 'router--work-packages-my-page', + parent: 'work-packages' + } }, ]; diff --git a/frontend/src/app/modules/work_packages/routing/work-packages-routes.ts b/frontend/src/app/modules/work_packages/routing/work-packages-routes.ts index c14f0acf3e..1d395bf79b 100644 --- a/frontend/src/app/modules/work_packages/routing/work-packages-routes.ts +++ b/frontend/src/app/modules/work_packages/routing/work-packages-routes.ts @@ -39,7 +39,6 @@ import {WorkPackagesListComponent} from "core-app/modules/work_packages/routing/ import {WorkPackageSplitViewComponent} from "core-app/modules/work_packages/routing/wp-split-view/wp-split-view.component"; import {Ng2StateDeclaration} from "@uirouter/angular"; import {WorkPackagesBaseComponent} from "core-app/modules/work_packages/routing/wp-base/wp--base.component"; -import {MyPageComponent} from "core-components/routing/my-page/my-page.component"; export const WORK_PACKAGES_ROUTES:Ng2StateDeclaration[] = [ {