WIP: Responsive header menu 2
This commit is contained in:
@@ -10,7 +10,7 @@ export class ProfileComponent implements OnInit {
|
||||
|
||||
initialClick = true;
|
||||
@Input() user?: User;
|
||||
@Output() showProfilePopoverChange = new EventEmitter<boolean>();
|
||||
@Output() showProfilePopOverChange = new EventEmitter<boolean>();
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user