Don't search conversations if searching within conversation
This commit is contained in:
parent
c9fd199b48
commit
e39c6e5321
3 changed files with 16 additions and 31 deletions
|
@ -76,7 +76,7 @@ export class MainHeader extends React.Component<PropsType> {
|
|||
searchConversationId,
|
||||
} = this.props;
|
||||
|
||||
if (searchDiscussions) {
|
||||
if (searchDiscussions && !searchConversationId) {
|
||||
searchDiscussions(searchTerm, {
|
||||
noteToSelf: i18n('noteToSelf').toLowerCase(),
|
||||
ourNumber,
|
||||
|
@ -89,7 +89,7 @@ export class MainHeader extends React.Component<PropsType> {
|
|||
regionCode,
|
||||
});
|
||||
}
|
||||
}, 50);
|
||||
}, 200);
|
||||
|
||||
public updateSearch = (event: React.FormEvent<HTMLInputElement>) => {
|
||||
const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue