hide "search posts" from mentions selector

This commit is contained in:
Martti Malmi 2023-02-12 18:18:58 +02:00
parent 1d9caa62f0
commit f8a63a3bb2

View File

@ -237,7 +237,7 @@ class SearchBox extends Component<Props, State> {
class="search-box-results"
style="left: ${this.state.offsetLeft || ''}"
>
{this.state.query ? (
{this.state.query && !this.props.resultsOnly ? (
<a
onFocus={(e) => this.onResultFocus(e, -1)}
tabIndex={2}