friday(*): Minor bug patch for internal sidebar

This commit is contained in:
Ben Gotow 2015-03-20 19:18:05 -07:00
parent 3ec0fccf4e
commit 438009e47f

View file

@ -17,6 +17,7 @@ FullContactStore = Reflux.createStore
dataForFocusedContact: ->
return {loading: true} if @_accountCache is null or @_applicationCache is null
contact = FocusedContactsStore.focusedContact()
return {} unless contact
account = _.find @_accountCache, (account) -> account.email is contact.email
apps = undefined
if account