mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-31 12:30:14 +08:00
fix(remove-from-trash): Fixes Sentry #11551
This commit is contained in:
parent
a2547dc9b2
commit
aa5d6da0da
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue