check if peerActions is defined
This commit is contained in:
parent
653db8f320
commit
989447364f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue