add icon next to username in top toolbar
parent
9696af8f6b
commit
5e69dd8299
|
@ -14,6 +14,7 @@
|
|||
class="sign-in-button"
|
||||
[matMenuTriggerFor]="authMenu"
|
||||
>
|
||||
<fa-icon [icon]="userIcon"></fa-icon>
|
||||
{{userName}}
|
||||
</button>
|
||||
<mat-menu #authMenu="matMenu">
|
||||
|
|
|
@ -38,6 +38,7 @@ export class GlobalnavComponent implements OnInit {
|
|||
public menuIcon = faBars;
|
||||
public mobileQuery: MediaQueryList;
|
||||
public navigationItems: PrimaryNavItem[];
|
||||
public userIcon = faUserCircle;
|
||||
public userName: string;
|
||||
|
||||
constructor(private media: MediaMatcher) {
|
||||
|
|
Loading…
Reference in New Issue