Skip to content

Commit

Permalink
feature(405222): removed unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
VijayalakshmirSF4471 committed Dec 19, 2024
1 parent cdf5f93 commit 365d994
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ export class WorkflowDiagramComponent implements AfterViewInit {
public chatWorkflowBlockTypeEnum = ChatWorkflowBlockTypeEnum;
// public data: RuleData[] = RULE_DATA;
public data: RuleData2[] = RULE_DATA3;
public nodes: NodeModel[] = [];
public connectors: ConnectorModel[] = [];
public closeOnDocumentClick: boolean = true;
public sidebarInput: string = '';
public ddlFields: Object = { text: 'label', value: 'value' };
Expand Down Expand Up @@ -147,11 +145,8 @@ export class WorkflowDiagramComponent implements AfterViewInit {
height: 150 + (buttonCount * 25),
addInfo: item
};
this.nodes.push(nodedata);
this.diagram.addNode(nodedata);

console.log("Nodes: ", item.id);

// Create connectors from success_rule_id
if (item['successRuleId']) {
var connectorData = {
Expand All @@ -160,7 +155,6 @@ export class WorkflowDiagramComponent implements AfterViewInit {
targetID: `node${item['successRuleId']}`,
// annotations: [{ content: 'success', alignment: 'Center'}]
};
this.connectors.push(connectorData);
this.diagram.addConnector(connectorData);
}
// if (item.branchDetails) {
Expand Down

0 comments on commit 365d994

Please sign in to comment.