TF-4392 [Team Mailbox] Hide Recover deleted messages and Archive message in team mailbox
This commit is contained in:
@@ -778,6 +778,14 @@ class SingleEmailController extends BaseController with AppLoaderMixin {
|
||||
return;
|
||||
}
|
||||
|
||||
final emailId = email.id;
|
||||
if (emailId == null) {
|
||||
mailboxDashBoardController.emitMoveToTrashFailure(
|
||||
NotFoundEmailIdException(),
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
final moveActionRequest = emailActionReactor.buildMoveToTrashRequest(
|
||||
email,
|
||||
trashMailboxId: trashId,
|
||||
|
||||
Reference in New Issue
Block a user