Underscore.js _.map() to native Array.map() (optional with Object.entries/values)

This commit is contained in:
djmaze 2020-07-22 20:09:31 +02:00
parent 032fa8c736
commit a82575a830
27 changed files with 68 additions and 78 deletions

View file

@ -95,7 +95,7 @@ class FolderUserStore {
});
this.folderListSystem = ko.computed(() =>
_.compact(_.map(this.folderListSystemNames(), (name) => getFolderFromCacheList(name)))
_.compact(this.folderListSystemNames().map(name => getFolderFromCacheList(name)))
);
this.folderMenuForMove = ko.computed(() =>