mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 07:27:04 +03:00
This commit is contained in:
parent
d291716489
commit
4257d9ca78
8 changed files with 16 additions and 37 deletions
|
|
@ -10,13 +10,7 @@ class AccountUserStore {
|
|||
this.accounts = ko.observableArray([]);
|
||||
this.accounts.loading = ko.observable(false).extend({ throttle: 100 });
|
||||
|
||||
this.computers();
|
||||
}
|
||||
|
||||
computers() {
|
||||
this.accountsEmails = ko.computed(
|
||||
() => this.accounts().map(item => (item ? item.email : null)).filter(value => !!value)
|
||||
);
|
||||
this.getEmailAddresses = () => this.accounts().map(item => item ? item.email : null).filter(value => !!value);
|
||||
|
||||
this.accountsUnreadCount = ko.computed(() => 0);
|
||||
// this.accountsUnreadCount = ko.computed(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue