|
|
|
@ -31,7 +31,7 @@ import {States} from '../../states.service'; |
|
|
|
|
import {WorkPackageNotificationService} from '../../wp-edit/wp-notification.service'; |
|
|
|
|
import {NotificationsService} from "core-app/modules/common/notifications/notifications.service"; |
|
|
|
|
import {OpModalComponent} from "core-components/op-modals/op-modal.component"; |
|
|
|
|
import {Component, ElementRef, Inject, OnInit} from "@angular/core"; |
|
|
|
|
import {ChangeDetectorRef, Component, ElementRef, Inject, OnInit} from "@angular/core"; |
|
|
|
|
import {OpModalLocalsToken} from "core-components/op-modals/op-modal.service"; |
|
|
|
|
import {OpModalLocalsMap} from "core-components/op-modals/op-modal.types"; |
|
|
|
|
import {WorkPackageResource} from 'core-app/modules/hal/resources/work-package-resource'; |
|
|
|
@ -65,13 +65,14 @@ export class WpDestroyModal extends OpModalComponent implements OnInit { |
|
|
|
|
readonly WorkPackageService:WorkPackageService, |
|
|
|
|
@Inject(OpModalLocalsToken) public locals:OpModalLocalsMap, |
|
|
|
|
readonly I18n:I18nService, |
|
|
|
|
readonly cdRef:ChangeDetectorRef, |
|
|
|
|
readonly $state:StateService, |
|
|
|
|
readonly states:States, |
|
|
|
|
readonly wpTableFocus:WorkPackageTableFocusService, |
|
|
|
|
readonly wpListService:WorkPackagesListService, |
|
|
|
|
readonly wpNotificationsService:WorkPackageNotificationService, |
|
|
|
|
readonly notificationsService:NotificationsService) { |
|
|
|
|
super(locals, elementRef); |
|
|
|
|
super(locals, cdRef, elementRef); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
ngOnInit() { |
|
|
|
|