aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbenal01 <bja4245@rit.edu>2025-04-02 10:31:11 -0400
committerbenal01 <bja4245@rit.edu>2025-04-02 10:31:11 -0400
commit81414e1ce9223801585214d8d7a3bbf51f0ac5a7 (patch)
tree0df3d3fe9826add3956b319755d020c0db696346
parent91e8835b84b00bffc6db350f7cf6641c0d128a93 (diff)
downloadJellySolutions-81414e1ce9223801585214d8d7a3bbf51f0ac5a7.tar.gz
JellySolutions-81414e1ce9223801585214d8d7a3bbf51f0ac5a7.tar.bz2
JellySolutions-81414e1ce9223801585214d8d7a3bbf51f0ac5a7.zip
dollar label for monetary needs
-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 c166152..0d64c99 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
@@ -44,7 +44,7 @@
<div class="prog">
<span id="hover-status-label-{{need.id}}"> </span>
- <span>{{need.current}}/{{need.maxGoal}} ({{((need.current / need.maxGoal) * 100).toFixed(0)}}%)</span>
+ <span>{{need.type.toString() == 'MONETARY' ? '$' : ''}}{{need.current}}/{{need.type.toString() == 'MONETARY' ? '$' : ''}}{{need.maxGoal}} ({{((need.current / need.maxGoal) * 100).toFixed(0)}}%)</span>
<progress [value]="need.current" [max]="need.maxGoal"></progress>
</div>