MM-64681 Fix in: filter in mobile search box (#32120)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ad38971dd6
Коммит
30ba6f573d
@@ -67,8 +67,8 @@ function mapStateToProps(state: GlobalState) {
|
||||
}
|
||||
|
||||
function mapDispatchToProps(dispatch: Dispatch) {
|
||||
const autocompleteChannels = (term: string, teamId: string, success?: (channels: Channel[]) => void, error?: (err: ServerError) => void): void => {
|
||||
autocompleteChannelsForSearch(term, success, error);
|
||||
const autocompleteChannels = (term: string, teamId: string, success?: (channels: Channel[]) => void, error?: (err: ServerError) => void) => {
|
||||
return autocompleteChannelsForSearch(term, success, error);
|
||||
};
|
||||
|
||||
return {
|
||||
|
||||
@@ -114,7 +114,10 @@ export default class SearchSuggestionList extends SuggestionList {
|
||||
className='search-help-popover autocomplete visible'
|
||||
placement='bottom'
|
||||
>
|
||||
<div ref={this.itemsContainerRef}>
|
||||
<div
|
||||
ref={this.itemsContainerRef}
|
||||
role='listbox'
|
||||
>
|
||||
{items}
|
||||
</div>
|
||||
</Popover>
|
||||
|
||||
Ссылка в новой задаче
Block a user