fix customized unit amount - show address
This commit is contained in:
parent
c3e510cc7c
commit
cdcc060674
3 changed files with 18 additions and 11 deletions
|
|
@ -347,12 +347,11 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
}, 1);
|
||||
};
|
||||
|
||||
this.setAmount = function(amount, alternativeAmount, useAlternativeAmount) {
|
||||
var amountResult = useAlternativeAmount ? alternativeAmount : amount;
|
||||
this.setAmount = function(amount, useAlternativeAmount) {
|
||||
$scope.showAlternative = useAlternativeAmount;
|
||||
|
||||
self.fromInputAmount = true;
|
||||
self.setForm(null, amountResult, null);
|
||||
self.setForm(null, amount, null);
|
||||
};
|
||||
|
||||
this.submitForm = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue