From d55025cb2f8c06c08676719b67a53fa48442d1e9 Mon Sep 17 00:00:00 2001 From: Ezhilarasi Date: Thu, 25 Jul 2019 12:19:31 +0530 Subject: Search mat card display Create blueprint search from db matcard Change-Id: I411035385930f5637c84426c7b32c20c219aab73 Issue-ID: CCSDK-1275 Signed-off-by: Ezhilarasi --- .../search-from-database.component.ts | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-from-database/search-from-database.component.ts') 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']; } } -- cgit 1.2.3-korg