mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-11 00:14:50 +03:00
Interface optimazations
This commit is contained in:
parent
e20bdc9ff9
commit
4283395624
5 changed files with 31 additions and 11 deletions
|
|
@ -122,6 +122,16 @@ function MailBoxMessageListViewModel()
|
|||
'' !== oData.trashFolder();
|
||||
}, this);
|
||||
|
||||
this.isDraftFolder = ko.computed(function () {
|
||||
return oData.draftFolder() === this.messageListEndFolder() &&
|
||||
'' !== oData.draftFolder();
|
||||
}, this);
|
||||
|
||||
this.isSentFolder = ko.computed(function () {
|
||||
return oData.sentFolder() === this.messageListEndFolder() &&
|
||||
'' !== oData.sentFolder();
|
||||
}, this);
|
||||
|
||||
this.isArchiveFolder = ko.computed(function () {
|
||||
return oData.archiveFolder() === this.messageListEndFolder() &&
|
||||
'' !== oData.archiveFolder();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue