This commit is contained in:
tiago.kayaya
2021-07-30 14:11:19 +01:00
parent 8376f35c8f
commit 5eaad6f546
4 changed files with 19 additions and 1 deletions
+8
View File
@@ -17,6 +17,7 @@ export class HeaderPage implements OnInit {
searchSubject: string = '';
showSearch=false;
loggeduser: User;
hideSearchBtn:boolean = false;
constructor(
private router: Router,
@@ -32,6 +33,13 @@ export class HeaderPage implements OnInit {
}
ngOnInit() {
this.hideSearch();
}
hideSearch(){
if(this.router.url == '/home/events'){
this.hideSearchBtn = true;
}
}
locationPathname(): string {