stash
This commit is contained in:
parent
4671860fa4
commit
18a3e40435
7 changed files with 43 additions and 11 deletions
|
|
@ -248,11 +248,11 @@ export default {
|
|||
}
|
||||
},
|
||||
async viewWorkflowDetails(workflow) {
|
||||
console.log('Viewing details for workflow:', workflow);
|
||||
const currentStep = workflow.current_step ||
|
||||
workflow.payload?.current_step ||
|
||||
getWorkflow(workflow.name)?.stepDefinitions?.[0]?.step ||
|
||||
"initial";
|
||||
const currentStep = String(
|
||||
workflow.current_step ||
|
||||
getWorkflow(workflow.slug)?.stepDefinitions?.[0]?.step ||
|
||||
1
|
||||
);
|
||||
|
||||
this.$router.push({
|
||||
name: 'workflow-detail',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue