Skip to content

Commit

Permalink
Bug 1210009 - Fix bug in display of perf subtest comparison results
Browse files Browse the repository at this point in the history
When original repository was not the same as the new repository, we wouldn't
show new results. This commit fixes that.
  • Loading branch information
wlach committed Sep 30, 2015
1 parent db1c5b9 commit 656a91e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/js/controllers/perf/compare.js
Expand Up @@ -434,9 +434,9 @@ perf.controller('CompareSubtestResultsCtrl', [
return PhCompare.getResultsMap($scope.newProject.name,
newSeriesData.seriesList,
timeRange,
[$scope.newResultSetID]);
[$scope.newResultSet.id]);
}).then(function(newSeriesMaps) {
var newSeriesMap = newSeriesMaps[$scope.newResultSetID];
var newSeriesMap = newSeriesMaps[$scope.newResultSet.id];
// There is a chance that we haven't received data for the given signature/resultSet yet
if (newSeriesMap) {
Object.keys(newSeriesMap).forEach(function(series) {
Expand Down

0 comments on commit 656a91e

Please sign in to comment.