Skip to content

Commit

Permalink
Fix the page loading issue (#12828)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyprain-okeke authored Jan 13, 2025
1 parent 53618e8 commit fe9b097
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit fe9b097

Please sign in to comment.