mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 23:54:13 +08:00
fix(account-store): Update focused perspective after triggering
- This prevents account store changes from propagating in the incorrect order
This commit is contained in:
parent
8f6dff7da8
commit
139f25e12f
1 changed files with 1 additions and 1 deletions
|
@ -75,8 +75,8 @@ class AccountStore extends NylasStore
|
|||
ipc = require('electron').ipcRenderer
|
||||
ipc.send('command', 'application:reset-config-and-relaunch')
|
||||
else
|
||||
Actions.focusDefaultMailboxPerspectiveForAccounts(@_accounts)
|
||||
@trigger()
|
||||
Actions.focusDefaultMailboxPerspectiveForAccounts(@_accounts)
|
||||
|
||||
_onReorderAccount: (id, newIdx) =>
|
||||
existingIdx = _.findIndex @_accounts, (a) -> a.id is id
|
||||
|
|
Loading…
Reference in a new issue