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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user