add execute directive flag

This commit is contained in:
Javier 2016-08-24 17:34:08 -03:00
commit afb7386ec2
5 changed files with 6 additions and 4 deletions

View file

@ -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) {

View file

@ -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);

View file

@ -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;