mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-27 03:11:35 +01:00
Resolve the bug on change payment method (#11202)
This commit is contained in:
parent
bcddf575a1
commit
08f0dadc2f
@ -332,20 +332,16 @@
|
|||||||
<!-- Payment info -->
|
<!-- Payment info -->
|
||||||
<ng-container *ngIf="formGroup.value.productTier !== productTypes.Free">
|
<ng-container *ngIf="formGroup.value.productTier !== productTypes.Free">
|
||||||
<h2 bitTypography="h4">{{ "paymentMethod" | i18n }}</h2>
|
<h2 bitTypography="h4">{{ "paymentMethod" | i18n }}</h2>
|
||||||
<p *ngIf="!showPayment && !deprecateStripeSourcesAPI">
|
<p *ngIf="!showPayment && (paymentSource || billing?.paymentSource)">
|
||||||
<i class="bwi bwi-fw" [ngClass]="paymentSourceClasses"></i>
|
<i class="bwi bwi-fw" [ngClass]="paymentSourceClasses"></i>
|
||||||
{{ billing?.paymentSource?.description }}
|
{{
|
||||||
<span class="ml-2 tw-text-primary-600 tw-cursor-pointer" (click)="toggleShowPayment()">{{
|
deprecateStripeSourcesAPI
|
||||||
"changePaymentMethod" | i18n
|
? paymentSource?.description
|
||||||
}}</span>
|
: billing?.paymentSource?.description
|
||||||
<a></a>
|
}}
|
||||||
</p>
|
<span class="ml-2 tw-text-primary-600 tw-cursor-pointer" (click)="toggleShowPayment()">
|
||||||
<p *ngIf="!showPayment && deprecateStripeSourcesAPI">
|
{{ "changePaymentMethod" | i18n }}
|
||||||
<i class="bwi bwi-fw" [ngClass]="paymentSourceClasses"></i>
|
</span>
|
||||||
{{ paymentSource?.description }}
|
|
||||||
<span class="ml-2 tw-text-primary-600 tw-cursor-pointer" (click)="toggleShowPayment()">{{
|
|
||||||
"changePaymentMethod" | i18n
|
|
||||||
}}</span>
|
|
||||||
<a></a>
|
<a></a>
|
||||||
</p>
|
</p>
|
||||||
<app-payment
|
<app-payment
|
||||||
|
Loading…
Reference in New Issue
Block a user