fixed logged in user.
This commit is contained in:
parent
f751470a50
commit
09d667b5e5
|
@ -61,7 +61,7 @@
|
|||
<div class="az-img-user">
|
||||
<img src="assets/logo/logo-text.png" alt="">
|
||||
</div><!-- az-img-user -->
|
||||
<h6>John Doe</h6>
|
||||
<h6>{{current_user}}</h6>
|
||||
<span>Adminstrator</span>
|
||||
</div><!-- az-header-profile -->
|
||||
|
||||
|
|
|
@ -7,10 +7,11 @@ import { Router } from '@angular/router';
|
|||
styleUrls: ['./header.component.scss']
|
||||
})
|
||||
export class HeaderComponent implements OnInit {
|
||||
|
||||
current_user: string
|
||||
constructor(private fastenDb: FastenDbService, private router: Router) { }
|
||||
|
||||
ngOnInit() {
|
||||
this.current_user = this.fastenDb.current_user
|
||||
}
|
||||
|
||||
closeMenu(e) {
|
||||
|
|
Loading…
Reference in New Issue