mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
Update for table
This commit is contained in:
@@ -3,6 +3,7 @@ import { AnimationController, ModalController } from '@ionic/angular';
|
||||
import { SearchPage } from 'src/app/pages/search/search.page';
|
||||
import { MenuController } from '@ionic/angular';
|
||||
import { ProfileComponent } from './profile/profile.component';
|
||||
import { Router } from '@angular/router';
|
||||
@Component({
|
||||
selector: 'app-header-no-search',
|
||||
templateUrl: './header-no-search.page.html',
|
||||
@@ -12,7 +13,8 @@ export class HeaderNoSearchPage implements OnInit {
|
||||
|
||||
constructor(private modalController: ModalController,
|
||||
private menu: MenuController,
|
||||
private animationController: AnimationController,) { }
|
||||
private animationController: AnimationController,
|
||||
private router: Router) { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
@@ -53,4 +55,8 @@ export class HeaderNoSearchPage implements OnInit {
|
||||
});
|
||||
return await modal.present();
|
||||
}
|
||||
|
||||
changeRoute(path){
|
||||
this.router.navigateByUrl(path)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user