This commit is contained in:
j3d1 2026-08-31 14:41:52 +02:00
parent 4671860fa4
commit 18a3e40435
7 changed files with 43 additions and 11 deletions

View file

@ -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',