Commit a5bce670 authored by Igor Kulikov's avatar Igor Kulikov

Fix

parent f5779e75
......@@ -2486,7 +2486,7 @@
var prevEdge;
if (connector.type === FlowchartConstants.leftConnectorType) {
var _loop_1 = function (edge) {
if (edge === connector.id) {
if (edge.destination === connector.id) {
swapConnector = this_1.modelService.connectors.getConnector(edge.source);
dragLabel = edge.label;
prevEdge = edge;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -1899,7 +1899,7 @@ class FcEdgeDraggingService {
let prevEdge;
if (connector.type === FlowchartConstants.leftConnectorType) {
for (const edge of this.model.edges) {
if (edge === connector.id) {
if (edge.destination === connector.id) {
swapConnector = this.modelService.connectors.getConnector(edge.source);
dragLabel = edge.label;
prevEdge = edge;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2288,7 +2288,7 @@ var FcEdgeDraggingService = /** @class */ (function () {
var prevEdge;
if (connector.type === FlowchartConstants.leftConnectorType) {
var _loop_1 = function (edge) {
if (edge === connector.id) {
if (edge.destination === connector.id) {
swapConnector = this_1.modelService.connectors.getConnector(edge.source);
dragLabel = edge.label;
prevEdge = edge;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -3,7 +3,7 @@
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve --open",
"start": "ng serve --open --port 4300",
"build": "ng build ngx-flowchart --prod",
"test": "ng test ngx-flowchart",
"lint": "ng lint",
......
......@@ -50,7 +50,7 @@ export class FcEdgeDraggingService {
let prevEdge: FcEdge;
if (connector.type === FlowchartConstants.leftConnectorType) {
for (const edge of this.model.edges) {
if (edge === connector.id) {
if (edge.destination === connector.id) {
swapConnector = this.modelService.connectors.getConnector(edge.source);
dragLabel = edge.label;
prevEdge = edge;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment