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

Provide WP notification service in full view

Oliver Günther3258d4be3211
diff --git a/frontend/src/app/modules/work_packages/routing/wp-full-view/wp-full-view.component.ts b/frontend/src/app/modules/work_packages/routing/wp-full-view/wp-full-view.component.ts
index 4555bcf92f6..1a1b79ab3a2 100644
--- a/frontend/src/app/modules/work_packages/routing/wp-full-view/wp-full-view.component.ts
+++ b/frontend/src/app/modules/work_packages/routing/wp-full-view/wp-full-view.component.ts
@@ -32,12 +32,17 @@ import {Component, Injector, OnInit} from '@angular/core';
import {WorkPackageViewSelectionService} from 'core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-selection.service';
import {WorkPackageSingleViewBase} from "core-app/modules/work_packages/routing/wp-view-base/work-package-single-view.base";
import {of} from "rxjs";
+import {HalResourceNotificationService} from "core-app/modules/hal/services/hal-resource-notification.service";
+import {WorkPackageNotificationService} from "core-app/modules/work_packages/notifications/work-package-notification.service";
@Component({
templateUrl: './wp-full-view.html',
selector: 'wp-full-view-entry',
// Required class to support inner scrolling on page
- host: { 'class': 'work-packages-page--ui-view' }
+ host: { 'class': 'work-packages-page--ui-view' },
+ providers: [
+ { provide: HalResourceNotificationService, useExisting: WorkPackageNotificationService }
+ ]
})
export class WorkPackagesFullViewComponent extends WorkPackageSingleViewBase implements OnInit {
// Watcher properties