fix(remove-from-trash): Fixes Sentry #11551

This commit is contained in:
Ben Gotow 2016-02-06 11:28:14 -08:00
parent a2547dc9b2
commit aa5d6da0da

View file

@ -323,7 +323,7 @@ class CategoryMailboxPerspective extends MailboxPerspective
moveToFinishedCategory: true
})
else if isTrash
tasks = TaskFactory.tasksForMovingToInbox({threads, categories})
tasks = TaskFactory.tasksForMovingToInbox({threads, fromPerspective: @})
else if isNotArchiveOrSent
tasks = TaskFactory.tasksForRemovingCategories({
threads,