Skip to content

Commit

Permalink
#1293 Fix a regression on the responder actions component
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Dec 14, 2020
1 parent 24a8e43 commit 5cb2192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/scripts/directives/responder-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
return;
}

_.each(list.values, function(action) {
_.each(_.isArray(list) ? list : list.values, function(action) {
if (action.status === 'Failure') {
action.errorMessage = (JSON.parse(action.report) || {}).errorMessage;
}
Expand Down

0 comments on commit 5cb2192

Please sign in to comment.