mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-04 07:10:06 +08:00
fix(search): Switching accounts while searching no longer breaks app
Fixes #850
This commit is contained in:
parent
8c965e4d7b
commit
608060ed6d
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ class ThreadListStore extends NylasStore
|
|||
accountMatcher = (m) ->
|
||||
m.attribute() is Thread.attributes.accountId and m.value() is accountId
|
||||
|
||||
return if @_view and _.find(@_view.matchers(), accountMatcher)
|
||||
return if @_view instanceof DatabaseView and _.find(@_view.matchers(), accountMatcher)
|
||||
@createView()
|
||||
|
||||
_onDataChanged: (change) ->
|
||||
|
|
Loading…
Reference in a new issue