1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-27 22:11:38 +01:00

Fix the page loading issue (#12828)

This commit is contained in:
cyprain-okeke 2025-01-13 12:17:30 +01:00 committed by GitHub
parent 53618e8f86
commit fe9b0976ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -311,7 +311,9 @@ export class ChangePlanDialogComponent implements OnInit, OnDestroy {
setInitialPlanSelection() {
this.focusedIndex = this.selectableProducts.length - 1;
this.selectPlan(this.getPlanByType(ProductTierType.Enterprise));
if (!this.isSubscriptionCanceled) {
this.selectPlan(this.getPlanByType(ProductTierType.Enterprise));
}
}
getPlanByType(productTier: ProductTierType) {