mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Resolve #474
This commit is contained in:
parent
f488212c3d
commit
7a7b11bdeb
3 changed files with 13 additions and 4 deletions
|
|
@ -22,7 +22,7 @@ import { ComposePopupView } from 'View/Popup/Compose';
|
|||
|
||||
import { moveMessagesToFolder } from 'Common/Folders';
|
||||
|
||||
import { setExpandedFolder } from 'Model/FolderCollection';
|
||||
import { setExpandedFolder, foldersFilter } from 'Model/FolderCollection';
|
||||
|
||||
export class MailFolderList extends AbstractViewLeft {
|
||||
constructor() {
|
||||
|
|
@ -40,7 +40,11 @@ export class MailFolderList extends AbstractViewLeft {
|
|||
|
||||
this.allowContacts = AppUserStore.allowContacts();
|
||||
|
||||
this.foldersFilter = foldersFilter;
|
||||
|
||||
addComputablesTo(this, {
|
||||
foldersFilterVisible: () => 20 < FolderUserStore.folderList().CountRec,
|
||||
|
||||
folderListVisible: () => {
|
||||
let multiple = false,
|
||||
inbox, visible,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue