diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 6d4b862..7e3a116 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -10,5 +10,5 @@ import { WorkflowDiagramComponent } from './components/workflow-diagram/workflow }) export class AppComponent { -public workflowID: number = 7; +public workflowID: number = 8; } \ No newline at end of file diff --git a/src/app/components/workflow-diagram/workflow-diagram.component.html b/src/app/components/workflow-diagram/workflow-diagram.component.html index 546a5e6..16fc05d 100644 --- a/src/app/components/workflow-diagram/workflow-diagram.component.html +++ b/src/app/components/workflow-diagram/workflow-diagram.component.html @@ -19,7 +19,7 @@
@@ -137,13 +137,43 @@ } } } + @case(chatWorkflowBlockTypeEnum.BranchOnPickerInput){ + @switch (data.data.chatWorkflowEditorTypeId){ + @case (chatWorkflowEditorTypeEnum.ButtonsBranch){ + + @for(option of data.data.fieldOptionDetails; track $index){ +
+ + @if(checkBranchAdd(data.data.branchDetails, option.value)){ + + } +
+ } +
+ } + @case (chatWorkflowEditorTypeEnum.DropdownBranch){ + + + + + } + @case(chatWorkflowEditorTypeEnum.ListBranch){ + + + + } + } + } }
- +