mirror of https://github.com/BTCPrivate/copay.git
Fix payment intent
This commit is contained in:
parent
c2163f8c7a
commit
022de7d2b5
|
@ -4,7 +4,7 @@ angular.module('copayApp.controllers').controller('PaymentIntentController', fun
|
|||
|
||||
$scope.wallets = [];
|
||||
$rootScope.title = 'Payment intent';
|
||||
$scope.wallets = rootScope.iden.listWallets();
|
||||
$scope.wallets = $rootScope.iden.listAllWallets();
|
||||
|
||||
var l = $scope.wallet.length;
|
||||
_.each($scope.wallets, function(w, i) {
|
||||
|
@ -39,8 +39,8 @@ angular.module('copayApp.controllers').controller('PaymentIntentController', fun
|
|||
|
||||
$scope.cancel = function() {
|
||||
$rootScope.pendingPayment = null;
|
||||
$location.path('/');
|
||||
$modalInstance.close();
|
||||
$location.path('/homeWallet');
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
<div class="w-popup-sub">
|
||||
<span ng-if="item.balanceInfo.updatingBalance"><i class="fi-bitcoin-circle icon-rotate spinner"></i></span>
|
||||
<div ng-if="!item.balanceInfo.updatingBalance" data-options="disable_for_touch:true">
|
||||
<b class="m5r size-12">{{item.balanceInfo.totalBalance || 0 |noFractionNumber}} {{item.settings.unitName}}</b>
|
||||
<span class="alt-currency size-10">{{item.balanceInfo.totalBalanceAlternative |noFractionNumber:2}} {{item.balanceInfo.alternativeIsoCode}}</span>
|
||||
<b class="m5r size-12">{{item.balanceInfo.totalBalance || 0}} {{item.settings.unitName}}</b>
|
||||
<span class="alt-currency size-10">{{item.balanceInfo.totalBalanceAlternative}} {{item.balanceInfo.alternativeIsoCode}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
|
Loading…
Reference in New Issue