From b1260fc68254c96779635dd2dfc31ac214f73bac Mon Sep 17 00:00:00 2001 From: Le Deng Date: Wed, 8 Mar 2017 08:49:36 -0500 Subject: [PATCH] latest --- .../src/app/components/my-profile/my-profile.component.html | 2 +- .../src/app/components/my-profile/my-profile.component.ts | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/store-front/src/app/components/my-profile/my-profile.component.html b/store-front/src/app/components/my-profile/my-profile.component.html index bc01105..8100d86 100644 --- a/store-front/src/app/components/my-profile/my-profile.component.html +++ b/store-front/src/app/components/my-profile/my-profile.component.html @@ -90,7 +90,7 @@ default - {{{userPayment.cardName}}} + {{userPayment.cardName}} diff --git a/store-front/src/app/components/my-profile/my-profile.component.ts b/store-front/src/app/components/my-profile/my-profile.component.ts index 8854645..aaf8aa7 100644 --- a/store-front/src/app/components/my-profile/my-profile.component.ts +++ b/store-front/src/app/components/my-profile/my-profile.component.ts @@ -4,6 +4,8 @@ import {Router} from "@angular/router"; import {LoginService} from "../../services/login.service"; import {UserService} from "../../services/user.service"; import {User} from '../../models/user'; +import {UserPayment} from '../../models/user-payment'; +import {UserBilling} from '../../models/user-billing'; @Component({ selector: 'app-my-profile', @@ -28,7 +30,8 @@ export class MyProfileComponent implements OnInit { private recoverEmail:string; private user: User = new User(); - + private userPayment: UserPayment = new UserPayment(); + private userBilling: UserBilling = new UserBilling(); constructor (private loginService: LoginService, private userService: UserService, private router: Router){ }