We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 024f1bb commit f084060Copy full SHA for f084060
email_mailbox/src/components/HeaderMainWrapper.js
@@ -37,6 +37,10 @@ class HeaderMainWrapper extends Component {
37
}
38
39
componentDidUpdate(prevProps) {
40
+ if (prevProps.sectionSelected && !this.props.sectionSelected) {
41
+ this.handleClearSearchInput();
42
+ return;
43
+ }
44
if (!prevProps.sectionSelected) return;
45
const searchMailboxId = -2;
46
const prevMailboxId = prevProps.sectionSelected.params.mailboxSelected.id;
0 commit comments