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
[32515] Go to full view on dbl click bcf list
Oliver Günther92e4c3d54713
diff --git a/frontend/src/app/modules/bim/ifc_models/ifc-base-view/event-handler/bcf-double-click-handler.ts b/frontend/src/app/modules/bim/ifc_models/ifc-base-view/event-handler/bcf-double-click-handler.tsindex 00da0b7d088..8ec49f82775 100644--- a/frontend/src/app/modules/bim/ifc_models/ifc-base-view/event-handler/bcf-double-click-handler.ts+++ b/frontend/src/app/modules/bim/ifc_models/ifc-base-view/event-handler/bcf-double-click-handler.ts@@ -1,11 +1,17 @@import {StateService} from "@uirouter/core";import {CardDblClickHandler} from "core-components/wp-card-view/event-handler/double-click-handler";import {InjectField} from "core-app/helpers/angular/inject-field.decorator";+import {bimListViewIdentifier, BimViewService} from "core-app/modules/bim/ifc_models/pages/viewer/bim-view.service";export class BcfDoubleClickHandler extends CardDblClickHandler {@InjectField() state:StateService;+ @InjectField() bimView:BimViewService;protected handleWorkPackage(wpId:string) {- this.state.go('.details', { workPackageId: wpId });+ if (this.bimView.current === bimListViewIdentifier) {+ this.state.go('work-packages.show', { workPackageId: wpId });+ } else {+ this.state.go('.details', { workPackageId: wpId });+ }}}