From 989447364f15258fd7d1f15d8d823aa14e3b3e11 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Fri, 31 Oct 2014 14:01:31 -0300 Subject: [PATCH] check if peerActions is defined --- js/controllers/history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/controllers/history.js b/js/controllers/history.js index f3fb67a4a..b7331b7ad 100644 --- a/js/controllers/history.js +++ b/js/controllers/history.js @@ -61,7 +61,7 @@ angular.module('copayApp.controllers').controller('HistoryController', _.each(res, function (r) { r.ts = r.minedTs || r.sentTs; - if (r.action === 'sent') { + if (r.action === 'sent' && r.peerActions) { r.actionList = controllerUtils.getActionList(r.peerActions); } });