From e9eba0c620a3fb320b53b37a50403d31fa877763 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Tue, 27 Aug 2024 19:02:37 +0200 Subject: [PATCH] Fix incomplete type guard --- .../components/WorkflowInvocationState/InvocationMessage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/WorkflowInvocationState/InvocationMessage.vue b/client/src/components/WorkflowInvocationState/InvocationMessage.vue index ffea05f86e19..fdf447621b25 100644 --- a/client/src/components/WorkflowInvocationState/InvocationMessage.vue +++ b/client/src/components/WorkflowInvocationState/InvocationMessage.vue @@ -78,7 +78,7 @@ const workflowStep = computed(() => { const dependentWorkflowStep = computed(() => { if ("dependent_workflow_step_id" in props.invocationMessage && workflow.value) { const stepId = props.invocationMessage["dependent_workflow_step_id"]; - if (stepId !== undefined) { + if (stepId !== undefined && stepId !== null) { return workflow.value.steps[stepId]; } }