finished login stg 1
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
|
||||
<button class="mat-button userButton" mat-button >
|
||||
<img src="https://i.pinimg.com/280x280_RS/88/42/df/8842df04cd938aa654c865742253c276.jpg" > Christopher
|
||||
<img src="https://i.pinimg.com/280x280_RS/88/42/df/8842df04cd938aa654c865742253c276.jpg" > <span *ngIf="isEmptyObject(currentUser)">{{currentUser.username}}</span>
|
||||
</button>
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<mat-menu #settingsMenu="matMenu">
|
||||
<button mat-menu-item>Settings</button>
|
||||
<button mat-menu-item>Help</button>
|
||||
<button mat-menu-item>Log out</button>
|
||||
<button mat-menu-item (click)="logOut()">Log out</button>
|
||||
</mat-menu>
|
||||
|
||||
<button class="mat-icon-button" mat-icon-button [matMenuTriggerFor]="settingsMenu">
|
||||
|
||||
Reference in New Issue
Block a user