diff --git a/src/app/pages/family/family.page.ts b/src/app/pages/family/family.page.ts index d8a463c..f6fafc0 100644 --- a/src/app/pages/family/family.page.ts +++ b/src/app/pages/family/family.page.ts @@ -43,7 +43,8 @@ export class FamilyPage implements OnInit { this.currFamState = this.router.getCurrentNavigation().extras.state; this.walletData = this.userWalletService.walletData; - if ( this.currFamState != undefined && this.currFamState != null){ + if ( this.currFamState != undefined && this.currFamState != null && this.currFamState.family_action != undefined){ + //debugger; this.family_action = this.currFamState.family_action; this.page_title= "Send Reward"; }