fix(aliases): Work window should reload when an alias is added

This commit is contained in:
Ben Gotow 2016-02-26 18:06:40 -08:00
parent 3072246d8e
commit 9c81b153f8

View file

@ -33,7 +33,7 @@ class AccountStore extends NylasStore
if newAccountIds.length > 0 if newAccountIds.length > 0
Actions.focusDefaultMailboxPerspectiveForAccounts([newAccountIds[0]]) Actions.focusDefaultMailboxPerspectiveForAccounts([newAccountIds[0]])
if NylasEnv.isComposerWindow() if NylasEnv.isComposerWindow() or NylasEnv.isWorkWindow()
NylasEnv.config.onDidChange saveObjectsKey, => @_load() NylasEnv.config.onDidChange saveObjectsKey, => @_load()
_load: => _load: =>