Skip to content

Commit

Permalink
Refresh the first selected item sorry-cypress#2
Browse files Browse the repository at this point in the history
  • Loading branch information
Das, Asish [ITSUS non J&J] committed Jun 15, 2022
1 parent 995d9e5 commit 88c521f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dashboard/src/instance/instanceDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ function getTreeOfNavigationItems(
}

// if instance has no tests return the navigation tree
if (!tests?.length) {
if (!tests?.length || tests?.length === 0) {
return {
navigationTree,
nodeIds: nodeIds,
Expand Down

0 comments on commit 88c521f

Please sign in to comment.