From c5e9053db6079ef2c5e4034ffae57e90ff1c2635 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCrkan=20G=C3=BCran?= Date: Wed, 25 Jan 2023 19:06:44 +0100 Subject: [PATCH] Refactor --- .../src/modules/flowchart/flowchart.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/designer/elsa-workflows-designer/src/modules/flowchart/flowchart.tsx b/src/designer/elsa-workflows-designer/src/modules/flowchart/flowchart.tsx index 84463bcb5..e7f3c317b 100644 --- a/src/designer/elsa-workflows-designer/src/modules/flowchart/flowchart.tsx +++ b/src/designer/elsa-workflows-designer/src/modules/flowchart/flowchart.tsx @@ -239,8 +239,8 @@ export class FlowchartComponent { return this.exportInternal(); } - @Watch('workflowDefinition') - private onWorkflowDefinitionChanged(value: WorkflowDefinition) { + @Watch('rootActivity') + private onActivityChanged(value: Activity) { this.updateLookups(); }