aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/navbar/navbar.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/components/navbar/navbar.component.ts')
-rw-r--r--src/app/components/navbar/navbar.component.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/components/navbar/navbar.component.ts b/src/app/components/navbar/navbar.component.ts
index b62d8e0..85f07d1 100644
--- a/src/app/components/navbar/navbar.component.ts
+++ b/src/app/components/navbar/navbar.component.ts
@@ -20,6 +20,7 @@ export class NavbarComponent implements OnInit {
this.loggedIn = this._tokenService.getTokenFromSessionStorage() !== '';
this.user = this._userService.getDefaultUser();
+ this.user.userName = ''; // so you don't always see a flash of 'Gosho'
this._userService.getUserFromSessionStorageRequest().subscribe({
next: (res: object) => {