Lodash upgrade (#2885)

* upgraded lodash, changed method names
* native implementations as requested
This commit is contained in:
Joel McKinnon
2020-04-23 10:38:44 -07:00
committed by GitHub
parent 04a60cfcbb
commit d103a22fa0
13 changed files with 39 additions and 24 deletions

View File

@@ -220,7 +220,7 @@ export default {
return;
}
const index = _.sortedIndex(this.imageHistory, datum, this.timeFormat.format.bind(this.timeFormat));
const index = _.sortedIndexBy(this.imageHistory, datum, this.timeFormat.format.bind(this.timeFormat));
this.imageHistory.splice(index, 0, datum);
},
updateValues(datum) {