mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-20 22:23:53 +08:00
fix(inbox-zero): don't show inbox zero when syncing
This commit is contained in:
parent
2dc88f3fe2
commit
e6b285f504
1 changed files with 2 additions and 2 deletions
|
@ -117,10 +117,10 @@ class EmptyState extends React.Component
|
|||
messageOverride = "Nothing to display."
|
||||
if @state.layoutMode is 'list'
|
||||
ContentComponent = ContentQuotes
|
||||
|
||||
if @state.syncing
|
||||
messageOverride = "Please wait while we prepare your mailbox."
|
||||
|
||||
if FocusedPerspectiveStore.current()?.name is "Inbox"
|
||||
else if FocusedPerspectiveStore.current()?.name is "Inbox"
|
||||
ContentComponent = InboxZero
|
||||
|
||||
classes = classNames
|
||||
|
|
Loading…
Reference in a new issue