mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 22:47:03 +03:00
Cleanup some code
This commit is contained in:
parent
ddb6daace6
commit
3ad9bb6258
3 changed files with 7 additions and 9 deletions
|
|
@ -86,9 +86,10 @@ export class FolderListMailBoxUserView extends AbstractViewLeft {
|
|||
setFolderHash(folder.fullNameRaw, '');
|
||||
}
|
||||
|
||||
rl.route.setHash((event.target.matches('.flag-icon') && !folder.isFlagged())
|
||||
? mailBox(folder.fullNameHash, 1, 'is:flagged')
|
||||
: mailBox(folder.fullNameHash)
|
||||
rl.route.setHash(
|
||||
mailBox(folder.fullNameHash, 1,
|
||||
(event.target.matches('.flag-icon') && !folder.isFlagged()) ? 'is:flagged' : ''
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue