summaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-ui/src/app/services/jsplumb.service.ts
diff options
context:
space:
mode:
authorLvbo163 <lv.bo163@zte.com.cn>2018-01-09 19:31:52 +0800
committerLvbo163 <lv.bo163@zte.com.cn>2018-01-09 20:03:06 +0800
commiteb2d1c385e5c3d96e770b776f74ddbde9f2b133f (patch)
tree18c655f6dd331c7752f13d7f79a04ea20e774d59 /sdc-workflow-designer-ui/src/app/services/jsplumb.service.ts
parent2356116cdf19843ba11bc0e781577b5a539ba712 (diff)
fix error while workflow is empty
workflow select list error while workflow list is empty Issue-ID: SDC-891 Change-Id: I3c92891efe4b323fcc6130b3ead6dcc7ff61af48 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-ui/src/app/services/jsplumb.service.ts')
-rw-r--r--sdc-workflow-designer-ui/src/app/services/jsplumb.service.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdc-workflow-designer-ui/src/app/services/jsplumb.service.ts b/sdc-workflow-designer-ui/src/app/services/jsplumb.service.ts
index bf7a6901..f0013bc5 100644
--- a/sdc-workflow-designer-ui/src/app/services/jsplumb.service.ts
+++ b/sdc-workflow-designer-ui/src/app/services/jsplumb.service.ts
@@ -12,7 +12,7 @@
import { Injectable } from '@angular/core';
import * as jsp from 'jsplumb';
-import { WorkflowProcessService } from "./workflow-process.service";
+import { ModelService } from "./model.service";
import { BroadcastService } from "./broadcast.service";
import { Subscription } from 'rxjs/Subscription';
import { WorkflowNode } from "../model/workflow/workflow-node";
@@ -26,7 +26,7 @@ export class JsPlumbService {
public jsplumbInstance;
public subscriptionMap = new Map<string, Subscription>();
- constructor(private processService: WorkflowProcessService, private broadcastService: BroadcastService) {
+ constructor(private processService: ModelService, private broadcastService: BroadcastService) {
this.jsplumbInstance = jsp.jsPlumb.getInstance({
Container: 'canvas'
});