From b72fb29377fe4dc4a6abfd5beb23cfeaa87f131f Mon Sep 17 00:00:00 2001 From: Manoj Balaraj <34396255+ManojTauro@users.noreply.github.com> Date: Wed, 4 Dec 2024 07:44:25 +0000 Subject: [PATCH] fix(ui): improve debug outputs expression on initial load (#6094) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: manu2931 Co-authored-by: Miloš Paunović --- ui/src/components/executions/outputs/Wrapper.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ui/src/components/executions/outputs/Wrapper.vue b/ui/src/components/executions/outputs/Wrapper.vue index 49f42e507a2..fe96fb1daeb 100644 --- a/ui/src/components/executions/outputs/Wrapper.vue +++ b/ui/src/components/executions/outputs/Wrapper.vue @@ -225,11 +225,18 @@ if (!task) return; selected.value = [task.value]; + expandedValue.value = task.value; const child = task.children?.[1]; if (child) { selected.value.push(child.value); - expandedValue.value = child.path + expandedValue.value = child.path; + + const grandChild = child.children?.[1]; + if (grandChild) { + selected.value.push(grandChild.value); + expandedValue.value = grandChild.path; + } } debugCollapse.value = "debug";