aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbenal01 <bja4245@rit.edu>2025-04-02 10:33:13 -0400
committerbenal01 <bja4245@rit.edu>2025-04-02 10:33:13 -0400
commit2b7c42ffacaaf884bc9497e975c0c3274e9f966e (patch)
treebea499f32498cbc62a3d53b202eaed4dccdd3666
parent81414e1ce9223801585214d8d7a3bbf51f0ac5a7 (diff)
downloadJellySolutions-2b7c42ffacaaf884bc9497e975c0c3274e9f966e.tar.gz
JellySolutions-2b7c42ffacaaf884bc9497e975c0c3274e9f966e.tar.bz2
JellySolutions-2b7c42ffacaaf884bc9497e975c0c3274e9f966e.zip
dollar label in need page
-rw-r--r--ufund-ui/src/app/components/need-page/need-page.component.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ufund-ui/src/app/components/need-page/need-page.component.html b/ufund-ui/src/app/components/need-page/need-page.component.html
index 958dfa6..12e9b74 100644
--- a/ufund-ui/src/app/components/need-page/need-page.component.html
+++ b/ufund-ui/src/app/components/need-page/need-page.component.html
@@ -11,9 +11,9 @@
<span>This goal is <strong>{{(((need?.current ?? 0)*100) / (need?.maxGoal ?? 0)).toFixed(0)}}%</strong> complete!</span>
</div>
- <span><strong>Target Goal:</strong> {{need.maxGoal}}</span>
+ <span><strong>Target Goal:</strong> {{need.type.toString() == 'MONETARY' ? '$' : ''}}{{need.maxGoal}}</span>
- <span><strong>Amount Currently Collected:</strong> {{need.current}}</span>
+ <span><strong>Amount Currently Collected:</strong> {{need.type.toString() == 'MONETARY' ? '$' : ''}}{{need.current}}</span>
<span><strong>Location:</strong> {{need.location}}</span>