diff --git a/js/controllers/transactions.js b/js/controllers/transactions.js index 78fcae464..7a8185d9c 100644 --- a/js/controllers/transactions.js +++ b/js/controllers/transactions.js @@ -166,6 +166,10 @@ angular.module('copayApp.controllers').controller('TransactionsController', } }; + $scope.hasAction = function(actions, action) { + return actions.hasOwnProperty('create'); + } + $scope.getShortNetworkName = function() { return config.networkName.substring(0, 4); }; diff --git a/views/transactions.html b/views/transactions.html index a49bfbfc6..1119e81ce 100644 --- a/views/transactions.html +++ b/views/transactions.html @@ -45,23 +45,27 @@ {{cId}}
- - + - - + + + + - - - - - - - - + + + + - - + + + + + + + + +