chore: close Filter DropDown in Threads after select an option (#5463)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
This commit is contained in:
parent
c5fe22c506
commit
f936d022eb
|
@ -424,7 +424,7 @@ class ThreadMessagesView extends React.Component<IThreadMessagesViewProps, IThre
|
|||
onFilterSelected = (filter: Filter) => {
|
||||
const { messages, subscription } = this.state;
|
||||
const displayingThreads = this.getFilteredThreads(messages, subscription, filter);
|
||||
this.setState({ currentFilter: filter, displayingThreads });
|
||||
this.setState({ currentFilter: filter, displayingThreads, showFilterDropdown: false });
|
||||
};
|
||||
|
||||
toggleFollowThread = async (isFollowingThread: boolean, tmid: string) => {
|
||||
|
|
Loading…
Reference in New Issue