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
Fix detectChanges in grid component
Oliver Günther12b294d76c8b
diff --git a/frontend/src/app/modules/grids/grid/page/grid-page.component.ts b/frontend/src/app/modules/grids/grid/page/grid-page.component.tsindex cf69194e0f0..7cb3668c0bc 100644--- a/frontend/src/app/modules/grids/grid/page/grid-page.component.ts+++ b/frontend/src/app/modules/grids/grid/page/grid-page.component.ts@@ -1,4 +1,4 @@-import {OnInit} from '@angular/core';+import {ChangeDetectorRef, OnInit} from '@angular/core';import {I18nService} from "core-app/modules/common/i18n/i18n.service";import {Title} from '@angular/platform-browser';import {GridInitializationService} from "core-app/modules/grids/grid/initialization.service";@@ -17,6 +17,7 @@ export abstract class GridPageComponent implements OnInit {readonly pathHelper:PathHelperService,readonly currentProject:CurrentProjectService,readonly i18n:I18nService,+ readonly cdRef:ChangeDetectorRef,readonly title:Title,readonly addWidget:GridAddWidgetService,readonly areas:GridAreaService) {}@@ -29,6 +30,7 @@ export abstract class GridPageComponent implements OnInit {.initialize(this.gridScopePath()).then((grid) => {this.grid = grid;+ this.cdRef.detectChanges();});this.setHtmlTitle();