diff --git a/src/app/pages/family/family.page.ts b/src/app/pages/family/family.page.ts
index eeb0a36..14e4227 100644
--- a/src/app/pages/family/family.page.ts
+++ b/src/app/pages/family/family.page.ts
@@ -4,6 +4,7 @@ import {Router} from "@angular/router";
import { WrenchService } from 'src/app/services/wrench.service';
import {SessionDataProviderService} from "../../store/session-data-provider.service";
import {FamilysuggestPendingService} from "../../store/familysuggest-pending.service";
+import {UserWalletService} from "../../store/user-wallet.service";
@Component({
@@ -23,12 +24,15 @@ export class FamilyPage implements OnInit {
currFamState:any;
family_action:string="DEFAULT_FAMILY_PAGE";
page_title:string = 'Family Account';
+ currency_url:string="https://www.wrenchboard.com/assets/images/apps/currency/";
+ walletData:[];
constructor(
private navctr: NavController,
private router: Router,
public sessionDataProviderService: SessionDataProviderService,
private wrenchService: WrenchService,
+ public userWalletService: UserWalletService,
public familysuggestPendingService: FamilysuggestPendingService
) {
this.etag = '' + Date.now();
@@ -37,6 +41,8 @@ export class FamilyPage implements OnInit {
});
this.page_title = 'Family Account';
this.currFamState = this.router.getCurrentNavigation().extras.state;
+ this.walletData = this.userWalletService.walletData;
+
if ( this.currFamState != undefined && this.currFamState != null){
this.family_action = this.currFamState.family_action;
this.page_title= "Send Reward";