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