adding patient profile link.

This commit is contained in:
Jason Kulatunga 2023-01-05 09:41:23 -08:00
parent 6a5970682e
commit 3dfce9d3a4
2 changed files with 3 additions and 2 deletions

View File

@ -64,11 +64,11 @@
<div class="az-dropdown-header d-sm-none">
<a class="az-header-arrow" (click)="closeMenu($event)"><i class="icon ion-md-arrow-back"></i></a>
</div>
<div class="az-header-profile">
<div [routerLink]="'/patient-profile'" class="az-header-profile cursor-pointer">
<div class="az-img-user">
<img src="assets/logo/logo-text.png" alt="">
</div><!-- az-img-user -->
<h6>{{current_user_claims.full_name || current_user_claims.email || current_user_claims.sub}}</h6>
<h6>{{current_user_claims.full_name || current_user_claims.sub || current_user_claims.email }}</h6>
<span>Adminstrator</span>
</div><!-- az-header-profile -->

View File

@ -172,6 +172,7 @@ export class AuthService {
//parse the authToken to get user information
let jwtClaims = jose.decodeJwt(authToken)
// @ts-ignore
return jwtClaims as UserRegisteredClaims
}