зеркало из https://github.com/mozilla/treeherder.git
Fix getting series for related branches in Perfherder
Currently if a series does not exist on another branch (i.e. MacOSX 10.10 on b2g-inbound), Perfherder graphs won't be able to fetch the related series. The fix for this is so simple, I'm just going to push it.
This commit is contained in:
Родитель
ddc14a0cac
Коммит
3897dee31d
|
@ -893,7 +893,8 @@ perf.controller('TestChooserCtrl', function($scope, $modalInstance, $http,
|
|||
var testList = _.sortBy(_.filter(series.seriesList,
|
||||
{platform: relatedSeries.platform}), 'name');
|
||||
var temp = _.findWhere(testList, {"name": relatedSeries.name});
|
||||
$scope.testsToAdd.push(_.clone(temp));
|
||||
if (temp !== undefined)
|
||||
$scope.testsToAdd.push(_.clone(temp));
|
||||
});
|
||||
}).then(function () {
|
||||
loadingExtraDataPromise.resolve($scope.testsToAdd.length);
|
||||
|
|
Загрузка…
Ссылка в новой задаче