Fix subworkflows not being exported properly
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user