Set results count to 0 (#4629)
This commit is contained in:
parent
e1ec0fdf94
commit
4992052fb0
1 changed files with 1 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ export default class AtMention extends PureComponent {
|
|||
|
||||
// Not invoked, render nothing.
|
||||
if (matchTerm === null) {
|
||||
this.props.onResultCountChange(0);
|
||||
this.setState({
|
||||
mentionComplete: false,
|
||||
sections: [],
|
||||
|
|
|
|||
Loading…
Reference in a new issue