This commit is contained in:
the-djmaze 2024-02-11 20:48:03 +01:00
parent ec5d570ac6
commit 4c84c6cdfc
5 changed files with 15 additions and 6 deletions

View file

@ -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)
});
}

View file

@ -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;

View file

@ -39,6 +39,8 @@ export class MailFolderList extends AbstractViewLeft {
this.foldersFilter = foldersFilter;
this.filterUnseen = ko.observable(false);
addComputablesTo(this, {
foldersFilterVisible: () => 20 < FolderUserStore.folderList().CountRec,