aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/need-list
diff options
context:
space:
mode:
authorGunther6070 <haydenhartman10@yahoo.com>2025-04-07 14:05:39 -0400
committerGunther6070 <haydenhartman10@yahoo.com>2025-04-07 14:05:39 -0400
commit24902e734df0a486818950f37452242ada4c656b (patch)
treeafa4735df70ad06c63f0789fb0cfd45609c3932b /ufund-ui/src/app/components/need-list
parented739c319f2f5e6680fe1a048c9c904b8d7d2429 (diff)
downloadJellySolutions-24902e734df0a486818950f37452242ada4c656b.tar.gz
JellySolutions-24902e734df0a486818950f37452242ada4c656b.tar.bz2
JellySolutions-24902e734df0a486818950f37452242ada4c656b.zip
Added commas to need amounts
Diffstat (limited to 'ufund-ui/src/app/components/need-list')
-rw-r--r--ufund-ui/src/app/components/need-list/need-list.component.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufund-ui/src/app/components/need-list/need-list.component.html b/ufund-ui/src/app/components/need-list/need-list.component.html
index 8a88f96..99c9f97 100644
--- a/ufund-ui/src/app/components/need-list/need-list.component.html
+++ b/ufund-ui/src/app/components/need-list/need-list.component.html
@@ -21,7 +21,7 @@
<div class="prog">
<span id="hover-status-label-{{need.id}}"> </span>
- <span>{{need.type.toString() == 'MONETARY' ? '$' : ''}}{{need.current}}/{{need.type.toString() == 'MONETARY' ? '$' : ''}}{{need.maxGoal}} ({{((need.current / need.maxGoal) * 100).toFixed(0)}}%)</span>
+ <span>{{need.type.toString() == 'MONETARY' ? '$' : ''}}{{need.current.toLocaleString()}} / {{need.type.toString() == 'MONETARY' ? '$' : ''}}{{need.maxGoal.toLocaleString()}} ({{((need.current / need.maxGoal) * 100).toFixed(0)}}%)</span>
<progress [value]="need.current" [max]="need.maxGoal"></progress>
</div>
</div>