Skip to content

Commit

Permalink
Fixed the filter content issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhikachhawa24 committed May 29, 2024
1 parent 0491d8c commit 8335fa9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/app/pages/home/home.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export class HomePage implements OnInit, OnTabViewWillEnter, OnDestroy {
selectedLang: any = "";
appName: string = "";
configVariables = ConfigVariables;
responseList: Array<any> = [];
constructor(
private headerService: AppHeaderService,
private router: Router,
Expand Down Expand Up @@ -163,9 +164,11 @@ export class HomePage implements OnInit, OnTabViewWillEnter, OnDestroy {
console.log(val);
this.showSheenAnimation = true;
try {
let res: any = await this.searchService.postContentSearch(req, await this.storage.getData('lang'));
console.log('Response', res);
this.mappUIContentList(res);
this.responseList = [];
this.responseList = await this.searchService.postContentSearch(req, await this.storage.getData('lang'));
// let res: any = await this.searchService.postContentSearch(req, await this.storage.getData('lang'));
console.log('Response', this.responseList);
this.mappUIContentList(this.responseList);
}
catch (e) {
console.log('error', e);
Expand Down

0 comments on commit 8335fa9

Please sign in to comment.