File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -619,7 +619,7 @@ Vue.component('grant-details', {
619
619
const rounded_lifetime_amount = Math . round ( amount_received / 1000 ) * 1000 ;
620
620
621
621
vm . grant . rounded_lifetime_amount = ( rounded_lifetime_amount > 1000 ) ?
622
- `~$${ rounded_lifetime_amount } ` : 'Less than $1,000' ;
622
+ `~$${ rounded_lifetime_amount . toLocaleString ( ) } ` : 'Less than $1,000' ;
623
623
624
624
if ( vm . grant . description_rich_edited ) {
625
625
vm . editor . updateContents ( JSON . parse ( vm . grant . description_rich ) ) ;
Original file line number Diff line number Diff line change @@ -372,7 +372,7 @@ if (document.getElementById('grants-showcase')) {
372
372
const rounded_lifetime_amount = Math . round ( amount_received / 1000 ) * 1000 ;
373
373
374
374
item . rounded_lifetime_amount = ( rounded_lifetime_amount > 1000 ) ?
375
- `~$${ rounded_lifetime_amount } ` : 'Less than $1,000' ;
375
+ `~$${ rounded_lifetime_amount . toLocaleString ( ) } ` : 'Less than $1,000' ;
376
376
377
377
if ( ! vm . prevouslyLoadedGrants [ item . id ] ) {
378
378
vm . grants . push ( item ) ;
You can’t perform that action at this time.
0 commit comments