fix value sent to form
This commit is contained in:
parent
e37cce06c5
commit
18c444c506
1 changed files with 3 additions and 3 deletions
|
|
@ -149,10 +149,10 @@ angular.module('copayApp.controllers').controller('inputAmountController', funct
|
||||||
var alternativeAmount;
|
var alternativeAmount;
|
||||||
|
|
||||||
if ($scope.showAlternativeAmount) {
|
if ($scope.showAlternativeAmount) {
|
||||||
amount = $scope.alternativeResult;
|
amount = fromFiat($scope.globalResult);
|
||||||
alternativeAmount = evaluate(format($scope.amount));
|
alternativeAmount = profileService.formatAmount(evaluate(format($scope.amount)) * unitToSatoshi, true);
|
||||||
} else {
|
} else {
|
||||||
amount = evaluate(format($scope.amount));
|
amount = profileService.formatAmount(evaluate(format($scope.amount)) * unitToSatoshi, true);
|
||||||
alternativeAmount = toFiat(amount);
|
alternativeAmount = toFiat(amount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue