Skip to content

Commit

Permalink
check activeNodeId for null (it can be 0 as well)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedhamidawan committed Sep 3, 2024
1 parent 9d5b1a1 commit 9e92723
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function scrollStepToView() {
<BCard ref="stepCard" class="mt-1" no-body>
<BCardHeader
class="d-flex justify-content-between align-items-center"
:class="activeNodeId ? steps[activeNodeId]?.headerClass : ''">
:class="activeNodeId !== null ? steps[activeNodeId]?.headerClass : ''">
<Heading inline size="sm" class="w-100 mr-2">
<WorkflowInvocationStepHeader
v-if="activeNodeId !== null"
Expand Down

0 comments on commit 9e92723

Please sign in to comment.