Skip to content

Commit

Permalink
fix single connection
Browse files Browse the repository at this point in the history
  • Loading branch information
paula-stacho committed Jul 16, 2024
1 parent 7a81311 commit f3a95a1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ const filterDatabases = (
results.push({
...db,
isMatch,
collections: childMatches.length ? childMatches : db.collections,
collections:
!isMatch && childMatches.length ? childMatches : db.collections,
});
}
}
Expand Down

0 comments on commit f3a95a1

Please sign in to comment.