diff options
author | benal01 <bja4245@rit.edu> | 2025-03-31 22:52:49 -0400 |
---|---|---|
committer | benal01 <bja4245@rit.edu> | 2025-03-31 22:52:49 -0400 |
commit | 4186983da13740ec0a4731770ac238922631be11 (patch) | |
tree | 2c3a13246596e01d4bc95166d25548311e5be25f /ufund-ui/src/app/components/cupboard/cupboard.component.html | |
parent | 786a6db3f5a22f7bb2cc249731ef654b675c3c86 (diff) | |
download | JellySolutions-4186983da13740ec0a4731770ac238922631be11.tar.gz JellySolutions-4186983da13740ec0a4731770ac238922631be11.tar.bz2 JellySolutions-4186983da13740ec0a4731770ac238922631be11.zip |
auto refresh with emitter
Diffstat (limited to '')
-rw-r--r-- | ufund-ui/src/app/components/cupboard/cupboard.component.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ufund-ui/src/app/components/cupboard/cupboard.component.html b/ufund-ui/src/app/components/cupboard/cupboard.component.html index e9387a2..2cfbe2d 100644 --- a/ufund-ui/src/app/components/cupboard/cupboard.component.html +++ b/ufund-ui/src/app/components/cupboard/cupboard.component.html @@ -8,6 +8,7 @@ <button [ngClass]="selectedForm === 'create' ? 'selected-tab' : 'tab'" (click)="selectForm('create')">Create new Need</button> <button [ngClass]="selectedForm === 'update' ? 'selected-tab' : 'tab'" (click)="selectForm('update')">Update existing Need</button> </div> + <app-need-edit [selectedNeed]="selectedNeed" (refreshNeedList)="needList.refresh()"></app-need-edit> <div id="create-form" *ngIf="selectedForm === 'create'"> <h1> Create Need </h1> <form #cupboardForm="ngForm" (ngSubmit)="submit(cupboardForm.value)"> |