Let users search and go back to a small left pane

This commit is contained in:
Josh Perez 2023-01-27 16:53:24 -05:00 committed by GitHub
parent 42b4406ad5
commit b78235e109
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -245,11 +245,7 @@ export class LeftPaneInboxHelper extends LeftPaneHelper<LeftPaneInboxPropsType>
!this.conversations.length &&
!this.pinnedConversations.length &&
!this.archivedConversations.length;
return (
hasNoConversations ||
this.isAboutToSearchInAConversation ||
Boolean(this.startSearchCounter)
);
return hasNoConversations || this.isAboutToSearchInAConversation;
}
shouldRecomputeRowHeights(old: Readonly<LeftPaneInboxPropsType>): boolean {