From 57fa4664f69cadb66a41f1143ce75e52839fa0f7 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Mon, 9 Dec 2024 09:39:40 -0500 Subject: [PATCH 1/2] Fix bug in attribute handler... --- client/src/components/Workflow/Editor/Index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Workflow/Editor/Index.vue b/client/src/components/Workflow/Editor/Index.vue index 99480764c098..07b536a2893f 100644 --- a/client/src/components/Workflow/Editor/Index.vue +++ b/client/src/components/Workflow/Editor/Index.vue @@ -307,7 +307,7 @@ export default { ensureParametersSet(); stateStore.activeNodeId = null; activityBar.value?.setActiveSideBar("workflow-editor-attributes"); - if (args.highlight) { + if (args && args.highlight) { this.highlightAttribute = args.highlight; } } From f98b5b340206c404a4a3e38f256eb82692023ba4 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Mon, 9 Dec 2024 09:51:11 -0500 Subject: [PATCH 2/2] Update client/src/components/Workflow/Editor/Index.vue Co-authored-by: Marius van den Beek --- client/src/components/Workflow/Editor/Index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Workflow/Editor/Index.vue b/client/src/components/Workflow/Editor/Index.vue index 07b536a2893f..357482638c78 100644 --- a/client/src/components/Workflow/Editor/Index.vue +++ b/client/src/components/Workflow/Editor/Index.vue @@ -307,7 +307,7 @@ export default { ensureParametersSet(); stateStore.activeNodeId = null; activityBar.value?.setActiveSideBar("workflow-editor-attributes"); - if (args && args.highlight) { + if (args?.highlight) { this.highlightAttribute = args.highlight; } }