Skip to content
Snippets Groups Projects
Commit 46dae707 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Get the list of workflow available

parent 0d2d738c
No related branches found
No related tags found
1 merge request!74Resolve "select workflow to run"
Pipeline #65989 failed
...@@ -42,8 +42,9 @@ export default { ...@@ -42,8 +42,9 @@ export default {
creation_date: new Date(exp.creation_date).toDateString(), creation_date: new Date(exp.creation_date).toDateString(),
} }
}) })
const workflowTools = await $axios.$get('/api/workflow-tools') const workflows = await $axios.$get('/api/cc-qtl-workflows/')
const wfParams = await $axios.$get('/api/workflow-default-parameters') const workflowTools = await $axios.$get('/api/workflow-tools/111')
const wfParams = await $axios.$get('/api/workflow-default-parameters/')
const toolsInputs = Object.keys(workflowTools) const toolsInputs = Object.keys(workflowTools)
.filter((stepId) => stepId !== 'null') .filter((stepId) => stepId !== 'null')
...@@ -61,6 +62,7 @@ export default { ...@@ -61,6 +62,7 @@ export default {
return acc return acc
}, {}), }, {}),
projectId: parseInt(params.id), projectId: parseInt(params.id),
workflows,
} }
} catch (error) { } catch (error) {
return { error: error.message } return { error: error.message }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment