mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 11:55:24 +00:00
(js) Move to top when changing mailbox
This commit is contained in:
@@ -207,8 +207,10 @@
|
||||
|
||||
mailbox = _find(stateAccount.$mailboxes);
|
||||
|
||||
if (mailbox)
|
||||
if (mailbox) {
|
||||
mailbox.$topIndex = 0;
|
||||
return mailbox;
|
||||
}
|
||||
else
|
||||
// Mailbox not found
|
||||
return $state.go('mail.account.inbox');
|
||||
|
||||
Reference in New Issue
Block a user