mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user