Merge pull request #5226 from JDonadio/fix/proposal-view
Use contact name in proposal card
This commit is contained in:
commit
80346f20e7
2 changed files with 29 additions and 13 deletions
|
|
@ -126,6 +126,12 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
|||
});
|
||||
});
|
||||
|
||||
$scope.createdWithinPastDay = function(time) {
|
||||
var now = new Date();
|
||||
var date = new Date(time * 1000);
|
||||
return (now.getTime() - date.getTime()) < (1000 * 60 * 60 * 24);
|
||||
};
|
||||
|
||||
$scope.openExternalLink = function() {
|
||||
var url = 'https://github.com/bitpay/copay/releases/latest';
|
||||
var optIn = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue