diff options
| author | sowgro <tpoke.ferrari@gmail.com> | 2025-04-01 16:58:12 -0400 | 
|---|---|---|
| committer | sowgro <tpoke.ferrari@gmail.com> | 2025-04-01 16:58:12 -0400 | 
| commit | 0b49430e3b0a5cc14521db58af19dafa5384c3c4 (patch) | |
| tree | c82d48337bf6989c11cbd3b721c32680a5becdcb /ufund-ui/src/app/components/need-page | |
| parent | 726b527af983025a95daae67864122761bcc4e78 (diff) | |
| download | JellySolutions-0b49430e3b0a5cc14521db58af19dafa5384c3c4.tar.gz JellySolutions-0b49430e3b0a5cc14521db58af19dafa5384c3c4.tar.bz2 JellySolutions-0b49430e3b0a5cc14521db58af19dafa5384c3c4.zip  | |
Fix warnings and misaligned prev page button
Diffstat (limited to '')
| -rw-r--r-- | ufund-ui/src/app/components/need-page/need-page.component.html | 12 | 
1 files changed, 6 insertions, 6 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..522b710 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 @@ -1,14 +1,14 @@  <div id="box"> -    <h1>{{need?.name}}</h1> -    <span class="needType">{{need?.type}} GOAL</span> +    <h1>{{need.name}}</h1> +    <span class="needType">{{need.type}} GOAL</span> -    <img *ngIf="need.image" alt="Need image" [src]="need?.image"/> +    <img *ngIf="need.image" alt="Need image" [src]="need.image"/> -    <p>{{need?.description}}</p> +    <p>{{need.description}}</p>      <div class="prog">  <!--        <span>{{need?.current}} / {{need?.maxGoal}}</span>--> -        <progress [value]="need?.current" [max]="need?.maxGoal"></progress> -        <span>This goal is <strong>{{(((need?.current ?? 0)*100) / (need?.maxGoal ?? 0)).toFixed(0)}}%</strong> complete!</span> +        <progress [value]="need.current" [max]="need.maxGoal"></progress> +        <span>This goal is <strong>{{(((need.current)*100) / (need.maxGoal)).toFixed(0)}}%</strong> complete!</span>      </div>      <span><strong>Target Goal:</strong> {{need.maxGoal}}</span>  | 
