mirror of https://github.com/BTCPrivate/copay.git
fix value sent to form
This commit is contained in:
parent
e37cce06c5
commit
18c444c506
|
@ -149,10 +149,10 @@ angular.module('copayApp.controllers').controller('inputAmountController', funct
|
|||
var alternativeAmount;
|
||||
|
||||
if ($scope.showAlternativeAmount) {
|
||||
amount = $scope.alternativeResult;
|
||||
alternativeAmount = evaluate(format($scope.amount));
|
||||
amount = fromFiat($scope.globalResult);
|
||||
alternativeAmount = profileService.formatAmount(evaluate(format($scope.amount)) * unitToSatoshi, true);
|
||||
} else {
|
||||
amount = evaluate(format($scope.amount));
|
||||
amount = profileService.formatAmount(evaluate(format($scope.amount)) * unitToSatoshi, true);
|
||||
alternativeAmount = toFiat(amount);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue