mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-22 04:25:36 +08:00
fix(search): Do not clear search mail view filter on account switch
Fixes #94
This commit is contained in:
parent
386a599fbc
commit
8a3633d509
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class FocusedMailViewStore extends NylasStore
|
|||
_onCategoryStoreChanged: ->
|
||||
if not @_mailView
|
||||
@_setMailView(@_defaultMailView())
|
||||
else if not CategoryStore.byId(@_mailView.categoryId())
|
||||
else if @_mailView.categoryId() and not CategoryStore.byId(@_mailView.categoryId())
|
||||
@_setMailView(@_defaultMailView())
|
||||
|
||||
_onFocusMailView: (filter) =>
|
||||
|
|
Loading…
Add table
Reference in a new issue