mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #11932 from overleaf/em-fix-pending-subscription-price-display
Fix pending subscription change price display GitOrigin-RevId: f9cf196bd3c43d4b85b78956ea36947fa7cef84b
This commit is contained in:
parent
f86eeac522
commit
e915f62907
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ module.exports = {
|
|||
if (!currency) {
|
||||
currency = 'USD'
|
||||
}
|
||||
let string = priceInCents + ''
|
||||
let string = String(Math.round(priceInCents))
|
||||
if (string.length === 2) {
|
||||
string = `0${string}`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue