1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-24 00:23:17 +00:00

refactor(billing): Clean up subscription details and type definitions

This commit is contained in:
Stephon Brown
2026-02-03 17:27:19 -05:00
parent b499c48633
commit bb28d05a3a
2 changed files with 9 additions and 10 deletions

View File

@@ -86,15 +86,10 @@ export class PremiumOrgUpgradeComponent implements OnInit {
}),
takeUntilDestroyed(this.destroyRef),
)
.subscribe(
([personalPlans, businessPlans]: [
PersonalSubscriptionPricingTier[],
BusinessSubscriptionPricingTier[],
]) => {
this.setupCardDetails(personalPlans, businessPlans);
this.loading.set(false);
},
);
.subscribe(([personalPlans, businessPlans]) => {
this.setupCardDetails(personalPlans, businessPlans);
this.loading.set(false);
});
}
private setupCardDetails(