TF-1977 Close email view and scroll to position inbox when clicking on logo
(cherry picked from commit 843c703e80559ab7d6a9fa3a4562ae85c1426a1f)
This commit is contained in:
+3
-1
@@ -2087,7 +2087,9 @@ class MailboxDashBoardController extends ReloadableController {
|
||||
|
||||
void redirectToInboxAction() {
|
||||
log('MailboxDashBoardController::redirectToInboxAction:');
|
||||
if (selectedMailbox.value?.role == PresentationMailbox.roleInbox) return;
|
||||
if (dashboardRoute.value == DashboardRoutes.emailDetailed) {
|
||||
dispatchEmailUIAction(CloseEmailDetailedViewAction());
|
||||
}
|
||||
|
||||
final inboxId = getMailboxIdByRole(PresentationMailbox.roleInbox);
|
||||
if (inboxId == null) return;
|
||||
|
||||
Reference in New Issue
Block a user