aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/need-page
diff options
context:
space:
mode:
authorbenal01 <bja4245@rit.edu>2025-04-02 22:49:50 -0400
committerbenal01 <bja4245@rit.edu>2025-04-02 22:49:50 -0400
commita6cdb080576ef24718986bccd0a12d174c8aaa05 (patch)
tree39712437a39b2bc6db16f1c2263db466ead70433 /ufund-ui/src/app/components/need-page
parent3ac2d458f9d60299977e2d8bb35f5d923c836ba0 (diff)
downloadJellySolutions-a6cdb080576ef24718986bccd0a12d174c8aaa05.tar.gz
JellySolutions-a6cdb080576ef24718986bccd0a12d174c8aaa05.tar.bz2
JellySolutions-a6cdb080576ef24718986bccd0a12d174c8aaa05.zip
ngIf for image instead of placeholder
Diffstat (limited to 'ufund-ui/src/app/components/need-page')
-rw-r--r--ufund-ui/src/app/components/need-page/need-page.component.html2
1 files changed, 1 insertions, 1 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 210e444..f8c2007 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
@@ -31,7 +31,7 @@
</div>
</div>
<div class="right">
- <img alt="Need image" class="need-image" [src]="need.image ? need.image : '/placeholder.png'"/>
+ <img *ngIf="need.image" alt="Need image" class="need-image" [src]="need.image"/>
</div>
</div>