diff options
author | 2019-07-25 12:19:31 +0530 | |
---|---|---|
committer | 2019-07-25 12:19:41 +0530 | |
commit | d55025cb2f8c06c08676719b67a53fa48442d1e9 (patch) | |
tree | 5789414b23a30ce31d91dea3ab03231c73cd8a76 /cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-from-database/search-from-database.component.ts | |
parent | bc30889259ef5469140e032535331eec3c3d242b (diff) |
Search mat card display
Create blueprint search from db matcard
Change-Id: I411035385930f5637c84426c7b32c20c219aab73
Issue-ID: CCSDK-1275
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-from-database/search-from-database.component.ts')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-from-database/search-from-database.component.ts | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-from-database/search-from-database.component.ts b/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-from-database/search-from-database.component.ts index a14508670..5ae1850cc 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-from-database/search-from-database.component.ts +++ b/cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-from-database/search-from-database.component.ts @@ -50,16 +50,17 @@ export class SearchFromDatabaseComponent implements OnInit { } fetchResourceByName() { - this.existingModelService.searchByTags("/searchByTags/",this.searchText) - .subscribe(data=>{ - console.log(data); - data.forEach(element => { - this.options.push(element) - }); - this.resourceSelect.openPanel(); - }, error=>{ - window.alert('error' + error); - }) + // this.existingModelService.searchByTags("/searchByTags/",this.searchText) + // .subscribe(data=>{ + // console.log(data); + // data.forEach(element => { + // this.options.push(element) + // }); + // this.resourceSelect.openPanel(); + // }, error=>{ + // window.alert('error' + error); + // }) + this.options=['test','vns','capability','hello','hi','hoi','dfagfagshdgfashdf','adsfhksd']; } } |