full precision on tx details modal
This commit is contained in:
parent
27f3ebf376
commit
d477effd07
4 changed files with 14 additions and 7 deletions
|
|
@ -12,6 +12,10 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio
|
|||
$scope.color = fc.backgroundColor;
|
||||
$scope.copayerId = fc.credentials.copayerId;
|
||||
$scope.isShared = fc.credentials.n > 1;
|
||||
|
||||
$scope.btx.amountStr = profileService.formatAmount($scope.btx.amount, true) + ' ' + walletSettings.unitName;
|
||||
$scope.btx.feeStr = profileService.formatAmount($scope.btx.fees, true) + ' ' + walletSettings.unitName;
|
||||
|
||||
$scope.showCommentPopup = function() {
|
||||
$scope.data = {
|
||||
comment: $scope.btx.note ? $scope.btx.note.body : '',
|
||||
|
|
@ -42,7 +46,7 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio
|
|||
return;
|
||||
}
|
||||
// This is only to refresh the current screen data
|
||||
$scope.btx.note = null;
|
||||
$scope.btx.note = null;
|
||||
if (args.body) {
|
||||
$scope.btx.note = {};
|
||||
$scope.btx.note.body = $scope.data.comment;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue