Resolve the issue of recalculation (#11294)

This commit is contained in:
cyprain-okeke 2024-09-27 17:51:43 +01:00 committed by GitHub
parent 2e1cd127c7
commit b149c86c28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -497,7 +497,7 @@ export class ChangePlanDialogComponent implements OnInit, OnDestroy {
return 0; 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; return result;
} }