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:
Sanjay Sargam 2024-01-20 01:14:41 +05:30 committed by GitHub
parent c5fe22c506
commit f936d022eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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) => {