add execute directive flag
This commit is contained in:
parent
d56b22242b
commit
afb7386ec2
5 changed files with 6 additions and 4 deletions
|
|
@ -45,7 +45,7 @@
|
|||
<span class="badge badge-assertive" ng-show="content.notAvailable" translate>Not available</span>
|
||||
</div>
|
||||
|
||||
<wallets only-complete="true" network="{{network}}" min-balance="{{minBalance}}"></wallets>
|
||||
<wallets ng-if="hasWallet" only-complete="true" network="{{network}}" min-balance="{{minBalance}}"></wallets>
|
||||
|
||||
<div class="item item-icon-left item-icon-right" ng-click="showDescriptionPopup()">
|
||||
<span ng-show="!description">Add Description</span>
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
<span ng-show="generatingAddress">...</span>
|
||||
<span ng-show="!generatingAddress" copy-to-clipboard="addr">{{addr}}</span>
|
||||
</div>
|
||||
<wallets only-complete="true"></wallets>
|
||||
<wallets ng-if="hasWallet" only-complete="true"></wallets>
|
||||
</div>
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
|
|
|
|||
|
|
@ -92,8 +92,9 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
|||
};
|
||||
|
||||
$scope.init = function() {
|
||||
$scope.notAvailable = false;
|
||||
$scope.wallet = profileService.getWallets()[0];
|
||||
$scope.notAvailable = false;
|
||||
$scope.hasWallet = $scope.wallet ? true : false;
|
||||
|
||||
if ($stateParams.paypro) {
|
||||
return setFromPayPro($stateParams.paypro, function(err) {
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
|
|||
|
||||
$scope.init = function() {
|
||||
$scope.defaultWallet = profileService.getWallets()[0];
|
||||
$scope.hasWallet = $scope.defaultWallet ? true : false;
|
||||
$scope.isCordova = platformInfo.isCordova;
|
||||
$scope.isNW = platformInfo.isNW;
|
||||
$scope.setAddress(false);
|
||||
|
|
|
|||
|
|
@ -157,8 +157,8 @@ angular.module('copayApp.directives')
|
|||
scope.content = {};
|
||||
scope.content.wallets = [];
|
||||
scope.content.notAvailable = false;
|
||||
var minBalance = attrs.minBalance ? parseInt(attrs.minBalance) : 0;
|
||||
var wallets = profileService.getWallets(opts);
|
||||
var minBalance = attrs.minBalance ? parseInt(attrs.minBalance) : 0;
|
||||
var filteredWallets = [];
|
||||
var index = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue