diff --git a/beat/web/reports/static/reports/app/controllers/groupsController.js b/beat/web/reports/static/reports/app/controllers/groupsController.js index 47eaa42f2b948846da26a3206528a63f147ba1d3..c8fa6f3bc16da01d78902ad5e6c498a75bc54801 100644 --- a/beat/web/reports/static/reports/app/controllers/groupsController.js +++ b/beat/web/reports/static/reports/app/controllers/groupsController.js @@ -28,8 +28,8 @@ angular.module('reportApp').controller('GroupsController', ['$scope', 'ReportSer vm.report = $scope.report; const getAnalyzerFromExpName = (expName) => { - let analyzer_block = vm.report.all_experiments[expName].declaration.analyzers.analysis - || vm.report.all_experiments[expName].declaration.analyzers.analyzer_private; + let analyzers = vm.report.all_experiments[expName].declaration.analyzers; + let analyzer_block = analyzers[Object.keys(analyzers)[0]]; return analyzer_block.algorithm; };