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

Make help text modal onPush

Oliver Günther9120c6b7ef57
diff --git a/frontend/src/app/modules/common/help-texts/attribute-help-text.modal.ts b/frontend/src/app/modules/common/help-texts/attribute-help-text.modal.ts
index 382964f4260..82c9fee4c00 100644
--- a/frontend/src/app/modules/common/help-texts/attribute-help-text.modal.ts
+++ b/frontend/src/app/modules/common/help-texts/attribute-help-text.modal.ts
@@ -26,7 +26,7 @@
// See docs/COPYRIGHT.rdoc for more details.
// ++
-import {ChangeDetectorRef, Component, ElementRef, Inject, OnInit} from '@angular/core';
+import {ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, Inject, OnInit} from '@angular/core';
import {OpModalComponent} from 'core-components/op-modals/op-modal.component';
import {OpModalLocalsMap} from 'core-components/op-modals/op-modal.types';
import {HelpTextResource} from 'core-app/modules/hal/resources/help-text-resource';
@@ -34,7 +34,8 @@ import {I18nService} from "core-app/modules/common/i18n/i18n.service";
import {OpModalLocalsToken} from "core-components/op-modals/op-modal.service";
@Component({
- templateUrl: './help-text.modal.html'
+ templateUrl: './help-text.modal.html',
+ changeDetection: ChangeDetectionStrategy.OnPush
})
export class AttributeHelpTextModal extends OpModalComponent implements OnInit {