mirror of https://github.com/BTCPrivate/copay.git
fix condition when there is not wallet created
This commit is contained in:
parent
4069998930
commit
cc752ec580
|
@ -115,7 +115,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="list card"
|
<div class="list card"
|
||||||
ng-if="(!externalServices.AmazonGiftCards || !externalServices.BitpayCard || !externalServices.BuyAndSell || !wallets[0]) && nextStepEnabled">
|
ng-if="externalServices.AmazonGiftCards || externalServices.BitpayCard || externalServices.BuyAndSell || !wallets[0] || nextStepEnabled">
|
||||||
<div class="item item-icon-right item-heading" ng-click="shouldHideNextSteps()" translate>
|
<div class="item item-icon-right item-heading" ng-click="shouldHideNextSteps()" translate>
|
||||||
Next steps
|
Next steps
|
||||||
<i class="icon nav-item-arrow-down" ng-if="!hideNextSteps"></i>
|
<i class="icon nav-item-arrow-down" ng-if="!hideNextSteps"></i>
|
||||||
|
|
|
@ -226,6 +226,7 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
||||||
$scope.amazonEnabled = config.amazon.enabled;
|
$scope.amazonEnabled = config.amazon.enabled;
|
||||||
$scope.bitpayCardEnabled = config.bitpayCard.enabled;
|
$scope.bitpayCardEnabled = config.bitpayCard.enabled;
|
||||||
$scope.nextStepEnabled = $scope.glideraEnabled || $scope.coinbaseEnabled || $scope.amazonEnabled || $scope.bitpayCardEnabled;
|
$scope.nextStepEnabled = $scope.glideraEnabled || $scope.coinbaseEnabled || $scope.amazonEnabled || $scope.bitpayCardEnabled;
|
||||||
|
console.log($scope.nextStepEnabled);
|
||||||
$scope.recentTransactionsEnabled = config.recentTransactions.enabled;
|
$scope.recentTransactionsEnabled = config.recentTransactions.enabled;
|
||||||
|
|
||||||
if ($scope.bitpayCardEnabled) bitpayCardCache();
|
if ($scope.bitpayCardEnabled) bitpayCardCache();
|
||||||
|
|
Loading…
Reference in New Issue