mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Cleanup calls to Knockout observableArray
Improved Knockout observableArray
This commit is contained in:
parent
fa5476e486
commit
b6f0b634fb
47 changed files with 251 additions and 276 deletions
|
|
@ -106,7 +106,7 @@ class MailBoxUserScreen extends AbstractScreen {
|
|||
FolderStore.foldersInboxUnreadCount(e.detail);
|
||||
|
||||
const email = AccountStore.email();
|
||||
AccountStore.accounts().forEach(item => {
|
||||
AccountStore.accounts.forEach(item => {
|
||||
if (item && email === item.email) {
|
||||
item.count(e.detail);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue