From b0f0589afdb319de8a01cb53f8a89c7265e634ae Mon Sep 17 00:00:00 2001 From: benal01 Date: Mon, 17 Mar 2025 18:30:26 -0400 Subject: remove useless id input for need creation --- ufund-ui/src/app/components/cupboard/cupboard.component.html | 2 -- ufund-ui/src/app/components/cupboard/cupboard.component.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/ufund-ui/src/app/components/cupboard/cupboard.component.html b/ufund-ui/src/app/components/cupboard/cupboard.component.html index 2749850..23aaec7 100644 --- a/ufund-ui/src/app/components/cupboard/cupboard.component.html +++ b/ufund-ui/src/app/components/cupboard/cupboard.component.html @@ -8,8 +8,6 @@


-
-



diff --git a/ufund-ui/src/app/components/cupboard/cupboard.component.ts b/ufund-ui/src/app/components/cupboard/cupboard.component.ts index adc38b0..b5726cf 100644 --- a/ufund-ui/src/app/components/cupboard/cupboard.component.ts +++ b/ufund-ui/src/app/components/cupboard/cupboard.component.ts @@ -77,7 +77,7 @@ needs: any; console.log(form); const need: Need = { name: form.name, - id: form.id, + id: 0, //system will control this maxGoal: form.maxGoal, type: GoalType[form.type as keyof typeof GoalType], filterAttributes: [], -- cgit v1.2.3