@kestra-io/ui-libs 0.0.28 → 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
|
@@ -45,6 +45,10 @@
|
|
|
45
45
|
<Handle type="target" :position="targetPosition" />
|
|
46
46
|
</template>
|
|
47
47
|
|
|
48
|
+
<script setup>
|
|
49
|
+
import Utils from "../../utils/Utils.js";
|
|
50
|
+
</script>
|
|
51
|
+
|
|
48
52
|
<script>
|
|
49
53
|
import {Handle} from "@vue-flow/core";
|
|
50
54
|
import TaskIcon from "../misc/TaskIcon.vue";
|
|
@@ -53,7 +57,6 @@
|
|
|
53
57
|
import ArrowExpandAll from "vue-material-design-icons/ArrowExpandAll.vue";
|
|
54
58
|
import {EVENTS} from "../../utils/constants.js";
|
|
55
59
|
import Tooltip from "../misc/Tooltip.vue";
|
|
56
|
-
import Utils from "../../utils/Utils.js";
|
|
57
60
|
|
|
58
61
|
export default {
|
|
59
62
|
name: "Dependencies",
|
|
@@ -278,7 +278,8 @@
|
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
const expand = (expandData) => {
|
|
281
|
-
|
|
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
|
}
|