From 84a0daac992ff5c7ff83268422460c96c1d73d48 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Tue, 22 Aug 2023 17:42:26 -0400 Subject: [PATCH] wallet session --- src/app/pages/home/home.page.ts | 9 +++++++-- src/app/pages/transaction/transaction.page.ts | 5 +++++ src/app/services/wrench.service.ts | 1 - 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/app/pages/home/home.page.ts b/src/app/pages/home/home.page.ts index 1508c98..67e7020 100644 --- a/src/app/pages/home/home.page.ts +++ b/src/app/pages/home/home.page.ts @@ -29,11 +29,16 @@ export class HomePage implements OnInit { } ngOnInit() { - this.getBlogData([]); - this.getBannersData(); + // this.getBlogData([]); + // this.getBannersData(); console.log("BLOG HOME 002->", this.blogDataService.blogData); // this.firstname = this.sessionDataProviderService.firstname; } + + ionViewDidEnter(){ + this.getBlogData([]); + this.getBannersData(); + } blogResult:any; bannerResult:any; bannerData: []; diff --git a/src/app/pages/transaction/transaction.page.ts b/src/app/pages/transaction/transaction.page.ts index 3b8eaf5..7819c07 100644 --- a/src/app/pages/transaction/transaction.page.ts +++ b/src/app/pages/transaction/transaction.page.ts @@ -17,6 +17,11 @@ export class TransactionPage implements OnInit { ) { } ngOnInit() { + // this.getWalletData(); + // this.getPaymentHxData(); + } + + ionViewDidEnter(){ this.getWalletData(); this.getPaymentHxData(); } diff --git a/src/app/services/wrench.service.ts b/src/app/services/wrench.service.ts index 3892736..0a62fc4 100644 --- a/src/app/services/wrench.service.ts +++ b/src/app/services/wrench.service.ts @@ -11,7 +11,6 @@ import {Router} from "@angular/router"; providedIn: 'root' }) export class WrenchService { - apiKey = '99dfe35fcb7de1ee'; url;