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){ }