Skip to content

Commit

Permalink
Fix incomplete type guard
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Aug 27, 2024
1 parent 8488ee6 commit e9eba0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
}
Expand Down

0 comments on commit e9eba0c

Please sign in to comment.