aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkash Keshav <112591754+domesticchores@users.noreply.github.com>2025-03-18 17:01:00 -0400
committerAkash Keshav <112591754+domesticchores@users.noreply.github.com>2025-03-18 17:01:00 -0400
commitca7d72e43407a49b147673ebc5ab8b155a8216ac (patch)
treee7c2311a40ea0b9ea3cf5a0de605b858f3e6478f
parent24ff80e67b365909ba391174cb0553f821ec33c4 (diff)
downloadJellySolutions-ca7d72e43407a49b147673ebc5ab8b155a8216ac.tar.gz
JellySolutions-ca7d72e43407a49b147673ebc5ab8b155a8216ac.tar.bz2
JellySolutions-ca7d72e43407a49b147673ebc5ab8b155a8216ac.zip
fixed odd rounding errors in funding basket. -ak
-rw-r--r--ufund-ui/src/app/components/funding-basket/funding-basket.component.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ufund-ui/src/app/components/funding-basket/funding-basket.component.html b/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
index 30c3167..504e694 100644
--- a/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
+++ b/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
@@ -20,8 +20,8 @@
<td>
<a routerLink="/need/{{need.id}}">{{need.name}}</a>
<p>Goal: {{need.maxGoal}}</p>
- <p>Current: {{need.current}}</p>
- <p>How much to Contribute: <input type="number" placeholder="insert value" min="0" id={{need.id}} class="contribution"></p>
+ <p>Current: {{(need.current).toFixed(2)}}</p>
+ <p>How much to Contribute: <input type="number" placeholder="insert value" min="1" id={{need.id}} class="contribution"></p>
<br>
<div>
<button type="button" class="removeNeed" title="delete need"