Skip to content

Commit

Permalink
#609 Fix a JS typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Jul 27, 2018
1 parent 733cd17 commit 58c2f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/scripts/controllers/case/CaseObservablesCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@
$scope.runResponder = function(responderId, artifact) {
CortexSrv.runResponder(responderId, 'case_artifact', _.pick(artifact, 'id'))
.then(function(response) {
var data = '['+$filter('fang')(artifact.name || artifact.attachment.name)+']';
var data = '['+$filter('fang')(artifact.data || artifact.attachment.name)+']';
NotificationSrv.log(['Responder', response.data.responderName, 'started successfully on observable', data].join(' '), 'success');
})
.catch(function(response) {
Expand Down

0 comments on commit 58c2f89

Please sign in to comment.