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
+1 -1
View File
@@ -10,7 +10,7 @@
<div class="div-logo height-fit-content">
<img src='assets/images/logo-no-bg.png' alt='logo'>
</div>
<div class="div-profile" (click)="openProfile()">
<div class="div-profile cursor-pointer" (click)="openProfile()">
<ion-icon class="icon" src='assets/images/icons-profile.svg'></ion-icon>
<ion-label class="profile-text">{{loggeduser.Profile}}</ion-label>
</div>
+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 {