1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 05:13:29 +00:00

[EC-750] Specify organizationId for credit and adjust payment components (#4061)

This commit is contained in:
Shane Melton
2022-11-14 17:07:43 -08:00
committed by GitHub
parent c73f48bb2f
commit 635973d458

View File

@@ -32,6 +32,7 @@
{{ "addCredit" | i18n }}
</button>
<app-add-credit
[organizationId]="organizationId"
(onAdded)="closeAddCredit(true)"
(onCanceled)="closeAddCredit(false)"
*ngIf="showAddCredit"
@@ -90,6 +91,7 @@
{{ (paymentSource ? "changePaymentMethod" : "addPaymentMethod") | i18n }}
</button>
<app-adjust-payment
[organizationId]="organizationId"
[currentType]="paymentSource != null ? paymentSource.type : null"
(onAdjusted)="closePayment(true)"
(onCanceled)="closePayment(false)"