fix(tags): Don't request unread count for *

This commit is contained in:
Ben Gotow 2015-03-27 18:12:54 -07:00
parent a764c160d1
commit 115f0b7735

View file

@ -80,7 +80,7 @@ AccountSidebarStore = Reflux.createStore
section.tags.forEach (tag) =>
if tag.id is "drafts"
@_populateDraftsCount(tag)
else if tag.id in ['drafts', 'sent', 'archive', 'trash']
else if tag.id in ['drafts', 'sent', 'archive', 'trash', '*']
return
else
# Make a web request for unread count