blob: 57b3d4ccd4c052f1ab674bea3df4990c0514b9fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
import { Component, OnInit } from '@angular/core';
import { FormBuilder, FormGroup } from '@angular/forms';
import { Router } from '@angular/router';
import { NotificationsService } from 'angular2-notifications';
import { AuthService } from '../core';
import {
FormReactive,
User,
UserService,
USER_PASSWORD
} from '../shared';
@Component({
selector: 'my-account',
templateUrl: './account.component.html',
styleUrls: [ './account.component.scss' ]
})
export class AccountComponent implements OnInit {
user: User = null;
constructor(private authService: AuthService) {}
ngOnInit() {
this.user = this.authService.getUser();
}
}
|