Skip to content

Commit

Permalink
Bug 1297722 - Use the ES6 '=>' operator to make sure transpiling works
Browse files Browse the repository at this point in the history
  • Loading branch information
wlach committed Aug 24, 2016
1 parent 83b079c commit 9d17060
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ui/js/models/resultsets_store.js
Expand Up @@ -807,9 +807,7 @@ treeherder.factory('ThResultSetStore', [
if(data.results.length > 0){

$log.debug("appendResultSets", data.results);
var rsIds = _.map(repositories[repoName].resultSets, function(rs){
return rs.id;
});
var rsIds = repositories[repoName].resultSets.map((rs) => rs.id);

// ensure we only append resultsets we don't already have.
// There could be overlap with fetching "next 10" because we use
Expand Down

0 comments on commit 9d17060

Please sign in to comment.