Adapt WP view drop down to new service structure (after refactoring)

pull/7548/head
Henriette Dinger 5 years ago
parent 9b7775450c
commit b42813d3b1
  1. 12
      frontend/src/app/components/op-context-menu/handlers/wp-view-dropdown-menu.directive.ts

@ -29,13 +29,13 @@
import {OPContextMenuService} from "core-components/op-context-menu/op-context-menu.service"; import {OPContextMenuService} from "core-components/op-context-menu/op-context-menu.service";
import {Directive, ElementRef} from "@angular/core"; import {Directive, ElementRef} from "@angular/core";
import {OpContextMenuTrigger} from "core-components/op-context-menu/handlers/op-context-menu-trigger.directive"; import {OpContextMenuTrigger} from "core-components/op-context-menu/handlers/op-context-menu-trigger.directive";
import {I18nService} from "core-app/modules/common/i18n/i18n.service";
import { import {
WorkPackageDisplayRepresentationService, WorkPackageViewDisplayRepresentationService,
wpDisplayCardRepresentation, wpDisplayCardRepresentation,
wpDisplayListRepresentation wpDisplayListRepresentation
} from "core-components/wp-fast-table/state/work-package-display-representation.service"; } from "core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-display-representation.service";
import {I18nService} from "core-app/modules/common/i18n/i18n.service"; import {WorkPackageViewTimelineService} from "core-app/modules/work_packages/routing/wp-view-base/view-services/wp-view-timeline.service";
import {WorkPackageTableTimelineService} from "core-components/wp-fast-table/state/wp-table-timeline.service";
@Directive({ @Directive({
selector: '[wpViewDropdown]' selector: '[wpViewDropdown]'
@ -44,8 +44,8 @@ export class WorkPackageViewDropdownMenuDirective extends OpContextMenuTrigger {
constructor(readonly elementRef:ElementRef, constructor(readonly elementRef:ElementRef,
readonly opContextMenu:OPContextMenuService, readonly opContextMenu:OPContextMenuService,
readonly I18n:I18nService, readonly I18n:I18nService,
readonly wpDisplayRepresentationService:WorkPackageDisplayRepresentationService, readonly wpDisplayRepresentationService:WorkPackageViewDisplayRepresentationService,
readonly wpTableTimeline:WorkPackageTableTimelineService) { readonly wpTableTimeline:WorkPackageViewTimelineService) {
super(elementRef, opContextMenu); super(elementRef, opContextMenu);
} }

Loading…
Cancel
Save