diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 4bce49e..7b3dc01 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -12,6 +12,5 @@ export class AppComponent { user?: Player; ngOnInit() { - // Load player data } } diff --git a/src/app/components/header/header.component.html b/src/app/components/header/header.component.html index 77edbc6..d36ebd4 100644 --- a/src/app/components/header/header.component.html +++ b/src/app/components/header/header.component.html @@ -14,5 +14,5 @@

{{getUserName()}}

User Icon - + diff --git a/src/app/components/header/header.component.ts b/src/app/components/header/header.component.ts index e9d162d..b112625 100644 --- a/src/app/components/header/header.component.ts +++ b/src/app/components/header/header.component.ts @@ -9,7 +9,7 @@ import {StorageService} from '../../services/storage.service'; }) export class HeaderComponent implements OnInit { - showProfilePopover: boolean = false; + showProfilePopOver: boolean = false; user?: User; constructor() { @@ -20,11 +20,11 @@ export class HeaderComponent implements OnInit { } openProfile(): void { - this.showProfilePopover = true; + this.showProfilePopOver = true; } closeProfile(): void { - this.showProfilePopover = false; + this.showProfilePopOver = false; } getUserName(): string { diff --git a/src/app/components/profile/profile.component.ts b/src/app/components/profile/profile.component.ts index 86f3cc4..fcfadb9 100644 --- a/src/app/components/profile/profile.component.ts +++ b/src/app/components/profile/profile.component.ts @@ -10,7 +10,7 @@ export class ProfileComponent implements OnInit { initialClick = true; @Input() user?: User; - @Output() showProfilePopoverChange = new EventEmitter(); + @Output() showProfilePopOverChange = new EventEmitter(); constructor(private eRef: ElementRef) { } @@ -31,7 +31,7 @@ export class ProfileComponent implements OnInit { } if (!this.eRef.nativeElement.contains(event.target)) { - this.showProfilePopoverChange.emit(false); + this.showProfilePopOverChange.emit(false); } }