Adding profile component (de)activation logic
This commit is contained in:
@@ -16,8 +16,10 @@ export class HeaderComponent implements OnInit {
|
||||
}
|
||||
|
||||
openProfile(): void {
|
||||
console.log('Called');
|
||||
this.showProfilePopover = !this.showProfilePopover;
|
||||
this.showProfilePopover = true;
|
||||
}
|
||||
|
||||
closeProfile(): void {
|
||||
this.showProfilePopover = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user