aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/cupboard/cupboard.component.ts
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-03-26 18:23:17 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-03-26 18:23:17 -0400
commit0829feb20e60bc6d323dcc0d9376f4feb45115eb (patch)
tree7ba0e9faf51a03127429689eff202c99d3f01fc4 /ufund-ui/src/app/components/cupboard/cupboard.component.ts
parentd9eb78521f29ead3a9f70b09e18a6d9560cc849c (diff)
downloadJellySolutions-0829feb20e60bc6d323dcc0d9376f4feb45115eb.tar.gz
JellySolutions-0829feb20e60bc6d323dcc0d9376f4feb45115eb.tar.bz2
JellySolutions-0829feb20e60bc6d323dcc0d9376f4feb45115eb.zip
Push starter code for Input()
Diffstat (limited to 'ufund-ui/src/app/components/cupboard/cupboard.component.ts')
-rw-r--r--ufund-ui/src/app/components/cupboard/cupboard.component.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/ufund-ui/src/app/components/cupboard/cupboard.component.ts b/ufund-ui/src/app/components/cupboard/cupboard.component.ts
index e38f8c0..cf9b95e 100644
--- a/ufund-ui/src/app/components/cupboard/cupboard.component.ts
+++ b/ufund-ui/src/app/components/cupboard/cupboard.component.ts
@@ -1,4 +1,4 @@
-import { Component, OnInit, ViewChild } from '@angular/core';
+import {Component, Input, OnInit, ViewChild} from '@angular/core';
import { CupboardService } from '../../services/cupboard.service';
import { UsersService } from '../../services/users.service';
import { Need, GoalType } from '../../models/Need';
@@ -38,9 +38,9 @@ export class CupboardComponent implements OnInit {
};
selectedNeedId: number | null = null;
searchResults: any[] = [];
-
+
selectForm(name: string) {
- //get search results from the need list
+ //get search results from the need list
if (this.needList) {
this.searchResults = this.needList.searchResults;
}