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
Use onPush for bcf component
Oliver Günther75acd6712b3e
diff --git a/frontend/src/app/modules/bim/bcf/bcf-wp-single-view/bcf-wp-single-view.component.ts b/frontend/src/app/modules/bim/bcf/bcf-wp-single-view/bcf-wp-single-view.component.tsindex 234f0fa3f20..ede89f3b506 100644--- a/frontend/src/app/modules/bim/bcf/bcf-wp-single-view/bcf-wp-single-view.component.ts+++ b/frontend/src/app/modules/bim/bcf/bcf-wp-single-view/bcf-wp-single-view.component.ts@@ -1,4 +1,4 @@-import {Component, Input, OnDestroy, OnInit} from "@angular/core";+import {ChangeDetectionStrategy, Component, Input, OnDestroy, OnInit} from "@angular/core";import {StateService} from "@uirouter/core";import {WorkPackageResource} from "core-app/modules/hal/resources/work-package-resource";import {NgxGalleryImage, NgxGalleryOptions} from '@kolkov/ngx-gallery';@@ -16,7 +16,8 @@ export type ViewPoint = { snapshotId:string, snapshotFullPath:string };@Component({selector: 'bcf-wp-single-view',templateUrl: './bcf-wp-single-view.component.html',- styleUrls: ['./bcf-wp-single-view.component.sass']+ styleUrls: ['./bcf-wp-single-view.component.sass'],+ changeDetection: ChangeDetectionStrategy.OnPush})export class BcfWpSingleViewComponent implements OnInit, OnDestroy {@Input() workPackage:WorkPackageResource;