mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 14:37:02 +03:00
Underscore.js _.each() to native Array.forEach() (optional with Object.entries/values)
This commit is contained in:
parent
178e5f6ef7
commit
a5d41edb24
25 changed files with 72 additions and 79 deletions
|
|
@ -22,7 +22,7 @@ class AccountUserStore {
|
|||
this.accountsUnreadCount = ko.computed(() => 0);
|
||||
// this.accountsUnreadCount = ko.computed(() => {
|
||||
// let result = 0;
|
||||
// _.each(this.accounts(), (item) => {
|
||||
// this.accounts().forEach(item => {
|
||||
// if (item)
|
||||
// {
|
||||
// result += item.count();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue