Skip to content

Commit

Permalink
Bug 1134875 - Fixed a small mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
mishravikas committed Mar 3, 2015
1 parent b3dda60 commit fcf97d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/js/perf.js
Expand Up @@ -278,6 +278,9 @@ perf.controller('PerfCtrl', [ '$state', '$stateParams', '$scope', '$rootScope',
}).then(function() {
if ($stateParams.series) {
$scope.seriesList = [];
if (_.isString($stateParams.series)) {
$stateParams.series = [$stateParams.series];
}
// we only store the signature + project name in the url, we need to
// fetch everything else from the server
var partialSeriesList = $stateParams.series.map(function(encodedSeries) {
Expand Down

0 comments on commit fcf97d3

Please sign in to comment.