mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +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
|
|
@ -88,7 +88,7 @@ class PluginPopupView extends AbstractViewNext {
|
|||
const config = oPlugin.Config;
|
||||
if (isNonEmptyArray(config)) {
|
||||
this.configures(
|
||||
_.map(config, (item) => ({
|
||||
config.map(item => ({
|
||||
'value': ko.observable(item[0]),
|
||||
'placeholder': ko.observable(item[6]),
|
||||
'Name': item[1],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue