fix(trash/spam): Typo sent => spam

This commit is contained in:
Ben Gotow 2016-03-10 13:27:11 -08:00
parent 3076acd7af
commit af9a858ba7

View file

@ -276,7 +276,7 @@ class CategoryMailboxPerspective extends MailboxPerspective
if @isSent()
query.order(Thread.attributes.lastMessageSentTimestamp.descending())
unless @categoriesSharedName() in ['sent', 'trash']
unless @categoriesSharedName() in ['spam', 'trash']
query.where(inAllMail: true)
if @_categories.length > 1 and @accountIds.length < @_categories.length