1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

Use payment-v2.component in change-plan-dialog.component when FF is on (#10976)

This commit is contained in:
Alex Morask
2024-09-11 09:48:22 -04:00
committed by GitHub
parent aa2a2d3ed0
commit 4fa31b8f2b
3 changed files with 66 additions and 15 deletions

View File

@@ -86,7 +86,7 @@ export class PaymentV2Component implements OnInit, OnDestroy {
/** Programmatically select the provided payment method. */
select = (paymentMethod: PaymentMethodType) => {
this.formGroup.value.paymentMethod = paymentMethod;
this.formGroup.get("paymentMethod").patchValue(paymentMethod);
};
protected submit = async () => {