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