Skip to content

Commit

Permalink
Redirect to completed if request was completed
Browse files Browse the repository at this point in the history
  • Loading branch information
caleeli committed Oct 2, 2023
1 parent 3b46ca0 commit 0109614
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/task.vue
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ export default {
this.taskId = this.task.id;
this.nodeId = this.task.element_id;
this.listenForParentChanges();
if (this.task.process_request.status === 'COMPLETED') {
this.$emit('completed', this.task.process_request.id);
}
},
},
Expand Down

0 comments on commit 0109614

Please sign in to comment.