diff options
Diffstat (limited to 'ufund-ui/src/app/components')
| -rw-r--r-- | ufund-ui/src/app/components/cupboard/cupboard.component.ts | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/ufund-ui/src/app/components/cupboard/cupboard.component.ts b/ufund-ui/src/app/components/cupboard/cupboard.component.ts index c1bf66c..aa88473 100644 --- a/ufund-ui/src/app/components/cupboard/cupboard.component.ts +++ b/ufund-ui/src/app/components/cupboard/cupboard.component.ts @@ -112,12 +112,13 @@ needs: any;      submit(form: any) {        const need: Need = {          name: form.name, -        id: form.id, +        id: 0,          maxGoal: form.maxGoal,          type: GoalType[form.type as keyof typeof GoalType],          filterAttributes: [],          current: 0        }; +        console.log("form submitted. creating need: ", need);        this.cupboardService.createNeed(need).subscribe(          (result) => {  | 
