Monday, December 9, 2019

the .find in lodash

My match variable here ended up being a single object and not an array of objects.

let match = _.find(this.attorneyFilterList, function(item) {
   return item.label == potentialState.openingTier;
});

No comments:

Post a Comment