mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 12:09:20 +03:00
Underscore.js _.map() to native Array.map() (optional with Object.entries/values)
This commit is contained in:
parent
032fa8c736
commit
a82575a830
27 changed files with 68 additions and 78 deletions
|
|
@ -1,5 +1,3 @@
|
|||
import _ from '_';
|
||||
|
||||
import { pString, pInt, isArray, trim, boolToAjax } from 'Common/Utils';
|
||||
|
||||
import {
|
||||
|
|
@ -247,7 +245,7 @@ class RemoteUserAjax extends AbstractAjaxRemote {
|
|||
this.defaultRequest(fCallback, 'FiltersSave', {
|
||||
'Raw': raw,
|
||||
'RawIsActive': boolToAjax(isRawIsActive),
|
||||
'Filters': _.map(filters, (item) => item.toJson())
|
||||
'Filters': filters.map(item => item.toJson())
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue