mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
improve header
This commit is contained in:
@@ -24,6 +24,10 @@ export class HeaderPage implements OnInit {
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
locationPathname(): string {
|
||||
return window.location.pathname
|
||||
}
|
||||
|
||||
async openSearch() {
|
||||
const modal = await this.modalController.create({
|
||||
component: SearchPage,
|
||||
@@ -37,4 +41,4 @@ export class HeaderPage implements OnInit {
|
||||
changeRoute(path){
|
||||
this.router.navigateByUrl(path)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user