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
Detect changes after switching tab in configuration modal
Oliver Günther166181288532
diff --git a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/wp-table-configuration.modal.ts b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/wp-table-configuration.modal.tsindex acd11707d5b..cc7cfad01de 100644--- a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/wp-table-configuration.modal.ts+++ b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/wp-table-configuration.modal.ts@@ -107,10 +107,11 @@ export class WpTableConfigurationModalComponent extends OpModalComponent implemeconst initialTabName = this.locals.initialTab;const initialTab = this.availableTabs.find((el) => el.id === initialTabName);this.switchTo(initialTab || this.availableTabs[0]);+ this.cdRef.detectChanges();});}- ngOnDestroy() {+ ngOnDestroy():void {this.onDataUpdated.complete();this.tabPortalHost.dispose();}@@ -123,7 +124,7 @@ export class WpTableConfigurationModalComponent extends OpModalComponent implemereturn this.tabPortalHost.currentTab;}- public switchTo(tab:TabInterface) {+ public switchTo(tab:TabInterface):void {this.tabPortalHost.switchTo(tab);}