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

This commit is contained in:
Ben Gotow 2016-02-06 11:28:14 -08:00
parent 0a7f188f7d
commit 3c25434fc8

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,