Skip to content

Commit

Permalink
Merge pull request #9793 from cmgustavo/bug/cards-header-01
Browse files Browse the repository at this point in the history
fix(home): if bp card disabled, header of cards disappear
  • Loading branch information
cmgustavo authored Jun 3, 2019
2 parents 165da86 + e870319 commit 03fbe48
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/home/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,18 @@
</ion-list>
</div>

<div class="section-header" *ngIf="
(showBitPayCard || showGiftCards) &&
wallets && wallets[0]
" translate>Cards</div>

<ion-list class="bitpay-card" *ngIf="
showBitPayCard &&
bitpayCardItems &&
bitpayCardItems[0] &&
wallets &&
wallets[0]
">
<div class="section-header" translate>Cards</div>
<div *ngFor="let card of bitpayCardItems" class="card-item sliding-container">
<ion-item-sliding>
<button ion-item (click)="goToCard(card.id)">
Expand Down

0 comments on commit 03fbe48

Please sign in to comment.