Import wpCreate service with token in inline-create

pull/6346/head
Oliver Günther 6 years ago
parent 293e82d57f
commit 05fddc696f
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 3
      frontend/src/app/components/wp-inline-create/wp-inline-create.component.ts

@ -62,6 +62,7 @@ import {componentDestroyed} from 'ng2-rx-componentdestroyed';
import {I18nService} from 'core-app/modules/common/i18n/i18n.service';
import {FocusHelperService} from 'core-app/modules/common/focus/focus-helper';
import {IWorkPackageEditingServiceToken} from "../wp-edit-form/work-package-editing.service.interface";
import {IWorkPackageCreateServiceToken} from "core-components/wp-new/wp-create.service.interface";
@Component({
selector: '[wpInlineCreate]',
@ -99,7 +100,7 @@ export class WorkPackageInlineCreateComponent implements OnInit, OnChanges, OnDe
readonly tableState:TableState,
readonly wpCacheService:WorkPackageCacheService,
@Inject(IWorkPackageEditingServiceToken) protected wpEditing:WorkPackageEditingService,
readonly wpCreate:WorkPackageCreateService,
@Inject(IWorkPackageCreateServiceToken) protected wpCreate:WorkPackageCreateService,
readonly wpTableColumns:WorkPackageTableColumnsService,
readonly wpTableFilters:WorkPackageTableFiltersService,
readonly wpTableFocus:WorkPackageTableFocusService,

Loading…
Cancel
Save