@kestra-io/ui-libs 0.0.29 → 0.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kestra-io/ui-libs",
3
- "version": "v0.0.29",
3
+ "version": "v0.0.30",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src",
@@ -278,7 +278,8 @@
278
278
  }
279
279
 
280
280
  const expand = (expandData) => {
281
- if (expandData.type === "io.kestra.core.tasks.flows.Flow" && !props.expandedSubflows.includes(expandData.id)) {
281
+ const taskTypesWithSubflows = ["io.kestra.core.tasks.flows.Flow", "io.kestra.core.tasks.flows.ForEachItem"];
282
+ if (taskTypesWithSubflows.includes(expandData.type) && !props.expandedSubflows.includes(expandData.id)) {
282
283
  forwardEvent("expand-subflow", [...props.expandedSubflows, expandData.id]);
283
284
  return;
284
285
  }