mirror of https://github.com/BTCPrivate/copay.git
check if peerActions is defined
This commit is contained in:
parent
653db8f320
commit
989447364f
|
@ -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…
Reference in New Issue