mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 05:43:41 +00:00
Fix the page loading issue (#12828)
This commit is contained in:
@@ -311,8 +311,10 @@ export class ChangePlanDialogComponent implements OnInit, OnDestroy {
|
||||
|
||||
setInitialPlanSelection() {
|
||||
this.focusedIndex = this.selectableProducts.length - 1;
|
||||
if (!this.isSubscriptionCanceled) {
|
||||
this.selectPlan(this.getPlanByType(ProductTierType.Enterprise));
|
||||
}
|
||||
}
|
||||
|
||||
getPlanByType(productTier: ProductTierType) {
|
||||
return this.selectableProducts.find((product) => product.productTier === productTier);
|
||||
|
||||
Reference in New Issue
Block a user