TF-4392 [Team Mailbox] Hide Recover deleted messages and Archive message in team mailbox

This commit is contained in:
dab246
2026-04-01 14:48:54 +07:00
committed by Dat H. Pham
parent a4bea6524b
commit 7cc9cd82fa
16 changed files with 165 additions and 529 deletions
@@ -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,