Change the rules about when to show the subscribe dialog
This commit is contained in:
parent
4efc5968c6
commit
b6be962bf3
2 changed files with 27 additions and 17 deletions
|
@ -14,8 +14,7 @@
|
|||
<span class="not-found" ng-show="!currentCard.last4">No credit card found</span>
|
||||
</div>
|
||||
|
||||
<button class="btn" ng-class="currentCard.last4 ? 'btn-default' : 'btn-primary'"
|
||||
ng-show="currentCard && !changingCard" ng-click="changeCard()">
|
||||
<button class="btn btn-primary" ng-show="currentCard && !changingCard" ng-click="changeCard()">
|
||||
Change Credit Card
|
||||
</button>
|
||||
</div>
|
||||
|
|
Reference in a new issue