Skip to content

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

[32722] Add separate split routes for model only

Oliver Güntheraaf9bb4c24f9
diff --git a/frontend/src/app/modules/bim/ifc_models/openproject-ifc-models.routes.ts b/frontend/src/app/modules/bim/ifc_models/openproject-ifc-models.routes.ts
index ead2f423f3d..eec1ee4e389 100644
--- a/frontend/src/app/modules/bim/ifc_models/openproject-ifc-models.routes.ts
+++ b/frontend/src/app/modules/bim/ifc_models/openproject-ifc-models.routes.ts
@@ -87,13 +87,13 @@ export const IFC_ROUTES:Ng2StateDeclaration[] = [
url: '/model',
data: {
partition: '-left-only',
- newRoute: 'bim.partitioned.split.new',
+ newRoute: 'bim.partitioned.model.new',
},
reloadOnSearch: false,
views: {
// Retarget and by that override the grandparent views
// https://ui-router.github.io/guide/views#relative-parent-state{
- 'content-right@^': { component: EmptyComponent },
+ 'content-right': { component: EmptyComponent },
'content-left': { component: IFCViewerComponent }
}
},
@@ -109,5 +109,11 @@ export const IFC_ROUTES:Ng2StateDeclaration[] = [
undefined,
WorkPackageSplitViewComponent
),
+ // BCF single view for model-only
+ ...makeSplitViewRoutes(
+ 'bim.partitioned.model',
+ undefined,
+ WorkPackageSplitViewComponent
+ ),
];