mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 15:46:28 +08:00
fix(remove-from-trash): Fixes Sentry #11551
This commit is contained in:
parent
0a7f188f7d
commit
3c25434fc8
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ class CategoryMailboxPerspective extends MailboxPerspective
|
||||||
moveToFinishedCategory: true
|
moveToFinishedCategory: true
|
||||||
})
|
})
|
||||||
else if isTrash
|
else if isTrash
|
||||||
tasks = TaskFactory.tasksForMovingToInbox({threads, categories})
|
tasks = TaskFactory.tasksForMovingToInbox({threads, fromPerspective: @})
|
||||||
else if isNotArchiveOrSent
|
else if isNotArchiveOrSent
|
||||||
tasks = TaskFactory.tasksForRemovingCategories({
|
tasks = TaskFactory.tasksForRemovingCategories({
|
||||||
threads,
|
threads,
|
||||||
|
|
Loading…
Reference in a new issue