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:
@@ -62,6 +62,7 @@ export class EventsPage implements OnInit {
|
||||
|
||||
taskslist:DailyWorkTask[] = [];
|
||||
expedientList:any;
|
||||
hideSearchBtn: boolean=false;
|
||||
|
||||
// shared data
|
||||
toDayEventStorage = ToDayEventStorage
|
||||
@@ -109,6 +110,13 @@ export class EventsPage implements OnInit {
|
||||
this.LoadList();
|
||||
}
|
||||
});
|
||||
this.hideSearch();
|
||||
}
|
||||
|
||||
hideSearch(){
|
||||
if(this.router.url == '/home/events'){
|
||||
this.hideSearchBtn = true;
|
||||
}
|
||||
}
|
||||
|
||||
doRefresh(event) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -58,6 +58,8 @@
|
||||
|
||||
.tab{
|
||||
height: 65px;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.active{
|
||||
|
||||
Reference in New Issue
Block a user