mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-01 04:22:15 +08:00
Resolve #447
This commit is contained in:
parent
7a7b11bdeb
commit
f56102dd88
1 changed files with 7 additions and 5 deletions
|
@ -108,11 +108,13 @@ export class MailFolderList extends AbstractViewLeft {
|
|||
setFolderHash(folder.fullName, '');
|
||||
}
|
||||
*/
|
||||
hasher.setHash(
|
||||
mailBox(folder.fullNameHash, 1,
|
||||
(event.target.matches('.flag-icon') && !folder.isFlagged()) ? 'flagged' : ''
|
||||
)
|
||||
);
|
||||
let search = '';
|
||||
if (event.target.matches('.flag-icon') && !folder.isFlagged()) {
|
||||
search = 'flagged';
|
||||
} else if (folder.printableUnreadCount() && event.clientX > el.getBoundingClientRect().right - 25) {
|
||||
search = 'unseen';
|
||||
}
|
||||
hasher.setHash(mailBox(folder.fullNameHash, 1, search));
|
||||
}
|
||||
|
||||
AppUserStore.focusedState(Scope.MessageList);
|
||||
|
|
Loading…
Reference in a new issue