From 7842796019d462afd1f63139700928c8034a921e Mon Sep 17 00:00:00 2001 From: sanjacornelius Date: Wed, 16 Feb 2022 14:35:32 -0800 Subject: [PATCH 1/2] Fix interstitial not progressing with web entry start events --- src/components/task.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/task.vue b/src/components/task.vue index 12c3d78e1..a5db9f9a6 100644 --- a/src/components/task.vue +++ b/src/components/task.vue @@ -320,11 +320,9 @@ export default { this.redirecting = task.process_request_id; this.$emit('redirect', task.id, true); return; - } else { + } else if (this.task && requestId == this.task.process_request_id && this.parentRequest && this.task.process_request.status === 'COMPLETED') { // Only emit completed after getting the subprocess tasks and there are no tasks and process is completed - if (requestId == this.task.process_request_id && this.parentRequest && this.task.process_request.status === 'COMPLETED') { this.$emit('completed', this.parentRequest); - } } this.taskId = task.id; this.nodeId = task.element_id; From 107d7aeda13ddd66d0553e9b010ee8f729cea1de Mon Sep 17 00:00:00 2001 From: sanjacornelius Date: Wed, 16 Feb 2022 14:47:38 -0800 Subject: [PATCH 2/2] Fix lint errors --- src/components/task.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/task.vue b/src/components/task.vue index a5db9f9a6..a130051d6 100644 --- a/src/components/task.vue +++ b/src/components/task.vue @@ -322,7 +322,7 @@ export default { return; } else if (this.task && requestId == this.task.process_request_id && this.parentRequest && this.task.process_request.status === 'COMPLETED') { // Only emit completed after getting the subprocess tasks and there are no tasks and process is completed - this.$emit('completed', this.parentRequest); + this.$emit('completed', this.parentRequest); } this.taskId = task.id; this.nodeId = task.element_id;