mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
save
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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