fixed logged in user.

This commit is contained in:
Jason Kulatunga 2022-10-17 08:11:09 -07:00
parent f751470a50
commit 09d667b5e5
2 changed files with 3 additions and 2 deletions

View File

@ -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 -->

View File

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