Ref amount-confirm sendMax
This commit is contained in:
parent
7601005d5d
commit
9f9bb1b728
2 changed files with 9 additions and 7 deletions
|
|
@ -309,7 +309,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
|||
if (a) {
|
||||
$scope.alternativeAmount = txFormatService.formatAmount(a * unitToSatoshi, true);
|
||||
} else {
|
||||
$scope.alternativeAmount = 'N/A'; //TODO
|
||||
$scope.alternativeAmount = 'N/A'; //TODO
|
||||
$scope.allowSend = false;
|
||||
}
|
||||
} else {
|
||||
|
|
@ -369,7 +369,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
|||
id: _id,
|
||||
amount: $scope.useSendMax ? null : _amount,
|
||||
currency: unit.id.toUpperCase(),
|
||||
coin: coin,
|
||||
coin: $scope.useSendMax ? null : coin,
|
||||
useSendMax: $scope.useSendMax
|
||||
});
|
||||
} else {
|
||||
|
|
@ -388,7 +388,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
|||
toName: $scope.toName,
|
||||
toEmail: $scope.toEmail,
|
||||
toColor: $scope.toColor,
|
||||
coin: coin,
|
||||
coin: $scope.useSendMax ? null : coin,
|
||||
useSendMax: $scope.useSendMax
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue