mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Resolve #1427
This commit is contained in:
parent
ec5d570ac6
commit
4c84c6cdfc
5 changed files with 15 additions and 6 deletions
|
|
@ -21,7 +21,7 @@ import { AbstractModel } from 'Knoin/AbstractModel';
|
|||
|
||||
import { /*koComputable,*/ addObservablesTo } from 'External/ko';
|
||||
|
||||
//import { mailBox } from 'Common/Links';
|
||||
import { mailBox } from 'Common/Links';
|
||||
|
||||
import Remote from 'Remote/User/Fetch';
|
||||
|
||||
|
|
@ -476,7 +476,7 @@ export class FolderModel extends AbstractModel {
|
|||
folder => folder.unreadCount() | folder.hasSubscribedUnreadMessagesSubfolders()
|
||||
).length
|
||||
*/
|
||||
// ,href: () => this.canBeSelected() && mailBox(this.fullNameHash)
|
||||
,href: () => this.canBeSelected() && mailBox(this.fullNameHash)
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -17,11 +17,14 @@
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
/* https://github.com/the-djmaze/snappymail/issues/1427
|
||||
/* https://github.com/the-djmaze/snappymail/issues/1427 */
|
||||
#V-MailFolderList .e-checkbox {
|
||||
margin: 0 4px;
|
||||
width: calc(100% - 8px);
|
||||
}
|
||||
#V-MailFolderList .unreadOnly li a:not(.unread-sub):not([data-unread]) {
|
||||
display:none;
|
||||
}
|
||||
*/
|
||||
|
||||
.b-folders {
|
||||
display: flex;
|
||||
|
|
|
|||
|
|
@ -39,6 +39,8 @@ export class MailFolderList extends AbstractViewLeft {
|
|||
|
||||
this.foldersFilter = foldersFilter;
|
||||
|
||||
this.filterUnseen = ko.observable(false);
|
||||
|
||||
addComputablesTo(this, {
|
||||
foldersFilterVisible: () => 20 < FolderUserStore.folderList().CountRec,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue