From 5cb21926f03d54239879ae878517855029b62663 Mon Sep 17 00:00:00 2001 From: Nabil Adouani Date: Mon, 14 Dec 2020 07:11:51 +0100 Subject: [PATCH] #1293 Fix a regression on the responder actions component --- frontend/app/scripts/directives/responder-actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/scripts/directives/responder-actions.js b/frontend/app/scripts/directives/responder-actions.js index d8fbce6bb2..c23116f056 100644 --- a/frontend/app/scripts/directives/responder-actions.js +++ b/frontend/app/scripts/directives/responder-actions.js @@ -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; }