diff options
author | Gunther6070 <haydenhartman10@yahoo.com> | 2025-04-02 16:08:52 -0400 |
---|---|---|
committer | Gunther6070 <haydenhartman10@yahoo.com> | 2025-04-02 16:08:52 -0400 |
commit | 4d382ccf9de889e4b339dd13220c3f761497e419 (patch) | |
tree | 9702d0171001bb76d4d63824bee6eee3502d5ff1 /ufund-ui/src/app/components/cupboard/cupboard.component.ts | |
parent | 6b7c830eeefb6a6a28136a3faacf7713953a6138 (diff) | |
download | JellySolutions-4d382ccf9de889e4b339dd13220c3f761497e419.tar.gz JellySolutions-4d382ccf9de889e4b339dd13220c3f761497e419.tar.bz2 JellySolutions-4d382ccf9de889e4b339dd13220c3f761497e419.zip |
Added dollar signs and other small additions to needs
Diffstat (limited to 'ufund-ui/src/app/components/cupboard/cupboard.component.ts')
-rw-r--r-- | ufund-ui/src/app/components/cupboard/cupboard.component.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ufund-ui/src/app/components/cupboard/cupboard.component.ts b/ufund-ui/src/app/components/cupboard/cupboard.component.ts index 2230cd3..a4706b3 100644 --- a/ufund-ui/src/app/components/cupboard/cupboard.component.ts +++ b/ufund-ui/src/app/components/cupboard/cupboard.component.ts @@ -1,6 +1,6 @@ import {Component, OnInit, ViewChild} from '@angular/core'; import { CupboardService } from '../../services/cupboard.service'; -import { Need, GoalType } from '../../models/Need'; +import { Need } from '../../models/Need'; import { userType } from '../../models/User'; import { catchError, of } from 'rxjs'; import { NeedListComponent } from '../need-list/need-list.component'; @@ -90,7 +90,7 @@ export class CupboardComponent implements OnInit { id: 0, maxGoal: form.maxGoal, type: form.type, - urgent: form.urgent ? true : false, + urgent: !!form.urgent, filterAttributes: [], current: 0, description: form.description @@ -120,8 +120,4 @@ export class CupboardComponent implements OnInit { ); } - - destroy() { - - } } |