Skip to content

Commit

Permalink
hide search version dropdown if contextual search is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed May 30, 2024
1 parent eda2485 commit f8b0e90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ function SearchPageContent(): JSX.Element {
/>
</div>

{docsSearchVersionsHelpers.versioningEnabled && (
{contextualSearch && docsSearchVersionsHelpers.versioningEnabled && (
<SearchVersionSelectList
docsSearchVersionsHelpers={docsSearchVersionsHelpers}
/>
Expand Down

0 comments on commit f8b0e90

Please sign in to comment.