Skip to content

Commit

Permalink
fix(topology): add new types for subflow expand check after relocatio…
Browse files Browse the repository at this point in the history
…n of core plugins
  • Loading branch information
brian-mulier-p committed Jul 10, 2024
1 parent f83a692 commit 243386d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/topology/Topology.vue
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,10 @@
}
const expand = (expandData) => {
const taskTypesWithSubflows = ["io.kestra.core.tasks.flows.Flow", "io.kestra.core.tasks.flows.Subflow", "io.kestra.core.tasks.flows.ForEachItem$ForEachItemExecutable"];
const taskTypesWithSubflows = [
"io.kestra.core.tasks.flows.Flow", "io.kestra.core.tasks.flows.Subflow", "io.kestra.plugin.core.flow.Subflow",
"io.kestra.core.tasks.flows.ForEachItem$ForEachItemExecutable", "io.kestra.plugin.core.flow.ForEachItem$ForEachItemExecutable"
];
if (taskTypesWithSubflows.includes(expandData.type) && !props.expandedSubflows.includes(expandData.id)) {
forwardEvent("expand-subflow", [...props.expandedSubflows, expandData.id]);
return;
Expand Down

0 comments on commit 243386d

Please sign in to comment.