mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
save
This commit is contained in:
@@ -62,6 +62,7 @@ export class EventsPage implements OnInit {
|
|||||||
|
|
||||||
taskslist:DailyWorkTask[] = [];
|
taskslist:DailyWorkTask[] = [];
|
||||||
expedientList:any;
|
expedientList:any;
|
||||||
|
hideSearchBtn: boolean=false;
|
||||||
|
|
||||||
// shared data
|
// shared data
|
||||||
toDayEventStorage = ToDayEventStorage
|
toDayEventStorage = ToDayEventStorage
|
||||||
@@ -109,6 +110,13 @@ export class EventsPage implements OnInit {
|
|||||||
this.LoadList();
|
this.LoadList();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
this.hideSearch();
|
||||||
|
}
|
||||||
|
|
||||||
|
hideSearch(){
|
||||||
|
if(this.router.url == '/home/events'){
|
||||||
|
this.hideSearchBtn = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
doRefresh(event) {
|
doRefresh(event) {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<div class="div-logo height-fit-content">
|
<div class="div-logo height-fit-content">
|
||||||
<img src='assets/images/logo-no-bg.png' alt='logo'>
|
<img src='assets/images/logo-no-bg.png' alt='logo'>
|
||||||
</div>
|
</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-icon class="icon" src='assets/images/icons-profile.svg'></ion-icon>
|
||||||
<ion-label class="profile-text">{{loggeduser.Profile}}</ion-label>
|
<ion-label class="profile-text">{{loggeduser.Profile}}</ion-label>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ export class HeaderPage implements OnInit {
|
|||||||
searchSubject: string = '';
|
searchSubject: string = '';
|
||||||
showSearch=false;
|
showSearch=false;
|
||||||
loggeduser: User;
|
loggeduser: User;
|
||||||
|
hideSearchBtn:boolean = false;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private router: Router,
|
private router: Router,
|
||||||
@@ -32,6 +33,13 @@ export class HeaderPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
this.hideSearch();
|
||||||
|
}
|
||||||
|
|
||||||
|
hideSearch(){
|
||||||
|
if(this.router.url == '/home/events'){
|
||||||
|
this.hideSearchBtn = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
locationPathname(): string {
|
locationPathname(): string {
|
||||||
|
|||||||
@@ -58,6 +58,8 @@
|
|||||||
|
|
||||||
.tab{
|
.tab{
|
||||||
height: 65px;
|
height: 65px;
|
||||||
|
cursor: pointer;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.active{
|
.active{
|
||||||
|
|||||||
Reference in New Issue
Block a user