mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-01 04:22:15 +08:00
No need to set page=1 when calling mailBox()
This commit is contained in:
parent
448f01e0c0
commit
9db640c6c5
2 changed files with 3 additions and 3 deletions
|
@ -242,7 +242,7 @@ export const MessageUserStore = new class {
|
|||
i18n('MESSAGE_LIST/NEW_MESSAGE_NOTIFICATION', {
|
||||
COUNT: len
|
||||
}),
|
||||
{ Url: mailBox(newMessages[0].Folder, 1) }
|
||||
{ Url: mailBox(newMessages[0].Folder) }
|
||||
);
|
||||
} else {
|
||||
newMessages.forEach(item => {
|
||||
|
|
|
@ -219,14 +219,14 @@ export class MailMessageList extends AbstractViewRight {
|
|||
);
|
||||
|
||||
if ('INBOX' === sFolder) {
|
||||
rl.route.setHash(mailBox(sFolder, 1));
|
||||
rl.route.setHash(mailBox(sFolder));
|
||||
}
|
||||
|
||||
if (message) {
|
||||
this.selector.selectMessageItem(message);
|
||||
} else {
|
||||
if ('INBOX' !== sFolder) {
|
||||
rl.route.setHash(mailBox(sFolder, 1));
|
||||
rl.route.setHash(mailBox(sFolder));
|
||||
}
|
||||
|
||||
MessageUserStore.selectMessageByFolderAndUid(sFolder, iUid);
|
||||
|
|
Loading…
Reference in a new issue