Skip to content

Commit

Permalink
#199 Fix the success message of bulk analyzer run
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed May 11, 2017
1 parent e39b837 commit 7f82b72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/app/scripts/controllers/case/CaseObservablesCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,7 @@
// run selected analyzers on selected artifacts
$scope.runAnalyzerOnSelection = function () {
var toRun = [];
var nbArtifacts = $scope.selection.artifacts.length;

angular.forEach($scope.selection.artifacts, function (element) {
angular.forEach($scope.analyzersList.analyzers, function (analyzer) {
Expand Down Expand Up @@ -554,7 +555,8 @@
);
})
.then(function() {
NotificationSrv.log('Analyzers have been successfully started for ' + $scope.selection.artifacts.length + ' observables', 'success');
console.log(nbArtifacts);
NotificationSrv.log('Analyzers have been successfully started for ' + nbArtifacts + ' observables', 'success');
}, function() {

});
Expand Down

0 comments on commit 7f82b72

Please sign in to comment.