From b149c86c28d8af0b6094a1e0cda86588c149a006 Mon Sep 17 00:00:00 2001 From: cyprain-okeke <108260115+cyprain-okeke@users.noreply.github.com> Date: Fri, 27 Sep 2024 17:51:43 +0100 Subject: [PATCH] Resolve the issue of recalculation (#11294) --- .../app/billing/organizations/change-plan-dialog.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/app/billing/organizations/change-plan-dialog.component.ts b/apps/web/src/app/billing/organizations/change-plan-dialog.component.ts index 42a987664f..c7cd7e45a9 100644 --- a/apps/web/src/app/billing/organizations/change-plan-dialog.component.ts +++ b/apps/web/src/app/billing/organizations/change-plan-dialog.component.ts @@ -497,7 +497,7 @@ export class ChangePlanDialogComponent implements OnInit, OnDestroy { return 0; } - const result = plan.PasswordManager.seatPrice * Math.abs(this.organization.seats || 0); + const result = plan.PasswordManager.seatPrice * Math.abs(this.sub?.seats || 0); return result; }