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

Loading…
Cancel
Save