Provide WP notification service in full view

This was missing and causes 409 errors not to contain
an update link as expected
pull/8351/head
Oliver Günther 5 years ago
parent 166edbe479
commit 3258d4be32
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 7
      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

Loading…
Cancel
Save