mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
[AC-1418] Simplify monthly price calculation
This commit is contained in:
@@ -69,7 +69,7 @@ export class SecretsManagerAdjustSubscriptionComponent implements OnInit, OnDest
|
||||
get monthlyServiceAccountPrice(): number {
|
||||
return this.options.interval == "month"
|
||||
? this.options.additionalServiceAccountPrice
|
||||
: Math.round((this.options.additionalServiceAccountPrice / 12 + Number.EPSILON) * 100) / 100;
|
||||
: this.options.additionalServiceAccountPrice / 12;
|
||||
}
|
||||
|
||||
get serviceAccountTotal(): number {
|
||||
|
||||
Reference in New Issue
Block a user