diff --git a/ui/package-lock.json b/ui/package-lock.json
index 7e5c4f5a388..1cc936703e8 100644
--- a/ui/package-lock.json
+++ b/ui/package-lock.json
@@ -8,7 +8,7 @@
"name": "kestra",
"version": "0.1.0",
"dependencies": {
- "@kestra-io/ui-libs": "^0.0.16",
+ "@kestra-io/ui-libs": "^0.0.17",
"@popperjs/core": "npm:@sxzz/popperjs-es@2.11.7",
"@vue-flow/background": "^1.2.0",
"@vue-flow/controls": "1.0.6",
@@ -655,9 +655,9 @@
"integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg=="
},
"node_modules/@kestra-io/ui-libs": {
- "version": "0.0.16",
- "resolved": "https://registry.npmjs.org/@kestra-io/ui-libs/-/ui-libs-0.0.16.tgz",
- "integrity": "sha512-b4s/GPGd3+2DdgymrkaKFbjCEBfxx5T02l47qpxsyX4K2/f8mx8qod/Y8C5t+vm91KTfEXPeQP9KifZcIr6qDw==",
+ "version": "0.0.17",
+ "resolved": "https://registry.npmjs.org/@kestra-io/ui-libs/-/ui-libs-0.0.17.tgz",
+ "integrity": "sha512-r7qfFDll2eEfo/FUfGnDaT3r7pINVxjLOUIQ9UFOWg8LNN6i/qjsGpkpQPF4IiYOIT77peyqeAG0/QEwgSBr1w==",
"peerDependencies": {
"@vue-flow/background": "^1.2.0",
"@vue-flow/controls": "1.0.6",
diff --git a/ui/package.json b/ui/package.json
index a3a40e91028..2de93693943 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -10,7 +10,7 @@
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path ../.gitignore"
},
"dependencies": {
- "@kestra-io/ui-libs": "^0.0.16",
+ "@kestra-io/ui-libs": "^0.0.17",
"@popperjs/core": "npm:@sxzz/popperjs-es@2.11.7",
"@vue-flow/background": "^1.2.0",
"@vue-flow/controls": "1.0.6",
diff --git a/ui/src/components/flows/FlowEditor.vue b/ui/src/components/flows/FlowEditor.vue
index cc778f005db..036b8188c17 100644
--- a/ui/src/components/flows/FlowEditor.vue
+++ b/ui/src/components/flows/FlowEditor.vue
@@ -8,6 +8,8 @@
:is-read-only="isReadOnly"
:flow-error="flowError"
:flow-deprecations="flowDeprecations"
+ :expanded-subflows="expandedSubflows"
+ @expand-subflow="$emit('expand-subflow', $event)"
/>
@@ -719,7 +724,7 @@
:source="flowYaml"
:is-allowed-edit="isAllowedEdit()"
:view-type="viewType"
- :expanded-subflows="expandedSubflows"
+ :expanded-subflows="props.expandedSubflows"
>
diff --git a/ui/src/components/inputs/LowCodeEditor.vue b/ui/src/components/inputs/LowCodeEditor.vue
index 9d3722500ba..9c9202067ef 100644
--- a/ui/src/components/inputs/LowCodeEditor.vue
+++ b/ui/src/components/inputs/LowCodeEditor.vue
@@ -306,7 +306,7 @@
:flowGraph="props.flowGraph"
:flow-id="flowId"
:namespace="namespace"
- :expanded-subflows="expandedSubflows"
+ :expanded-subflows="props.expandedSubflows"
@toggle-orientation="toggleOrientation"
@edit="onEditTask($event)"
@delete="onDelete"