aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-ui/src/app/app.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'sdc-workflow-designer-ui/src/app/app.component.ts')
-rw-r--r--sdc-workflow-designer-ui/src/app/app.component.ts23
1 files changed, 1 insertions, 22 deletions
diff --git a/sdc-workflow-designer-ui/src/app/app.component.ts b/sdc-workflow-designer-ui/src/app/app.component.ts
index 29c4d06f..931e7354 100644
--- a/sdc-workflow-designer-ui/src/app/app.component.ts
+++ b/sdc-workflow-designer-ui/src/app/app.component.ts
@@ -23,27 +23,6 @@ import { ActivatedRoute } from "@angular/router";
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
-export class AppComponent implements AfterViewInit, OnInit {
- constructor(private jsplumbService: JsPlumbService,
- private dataAccessService: DataAccessService,
- private route: ActivatedRoute,
- private workflowService: WorkflowService) {}
+export class AppComponent {
- ngOnInit(): void {
- this.route.queryParams.subscribe(params => {
- if(params.id) {
- this.dataAccessService.catalogService.loadWorkflow(params.id).subscribe(workflow => {
- this.workflowService.workflow = workflow;
- });
- }
- });
- }
-
- public getWorkflow(): Workflow {
- return this.workflowService.workflow;
- }
-
- ngAfterViewInit(): void {
- this.jsplumbService.buttonDroppable();
- }
}