We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c260fa3 commit ed8e882Copy full SHA for ed8e882
javascripts/discourse/components/search-banner.gjs
@@ -31,7 +31,7 @@ export default class SearchBanner extends Component {
31
} else if (showOn === "top_menu") {
32
return this.siteSettings.top_menu
33
.split("|")
34
- .any((m) => `discovery.${m}` === currentRouteName);
+ .some((m) => `discovery.${m}` === currentRouteName);
35
} else if (showOn === "discovery") {
36
return currentRouteName.startsWith("discovery.");
37
} else {
0 commit comments