From 23bf377a5393c4dc1fc06a1a22a9b5960eb1bda1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Fri, 2 Dec 2022 11:00:03 +0100 Subject: [PATCH] Fix subworkflows not being exported properly --- client/web/workflow/src/components/Export.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/web/workflow/src/components/Export.vue b/client/web/workflow/src/components/Export.vue index 340f4de66..a1b77343c 100644 --- a/client/web/workflow/src/components/Export.vue +++ b/client/web/workflow/src/components/Export.vue @@ -50,7 +50,7 @@ export default { .catch(this.toastErrorHandler(this.$t('notification:failed-fetch-triggers'))) // Get workflows, add related triggers - await this.$AutomationAPI.workflowList({ workflowID, disabled: 1 }) + await this.$AutomationAPI.workflowList({ workflowID, disabled: 1, subWorkflow: 1 }) .then(({ set = [] }) => { workflows = set.map(({ workflowID, handle, enabled, keepSessions, steps, paths, meta }) => { return {