mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
Merge branch 'master' of https://bitbucket.org/equilibriumito/gabinete-digital
This commit is contained in:
@@ -5,6 +5,7 @@ import { EventsService } from 'src/app/services/events.service';
|
||||
import { Router } from '@angular/router';
|
||||
import { ActivatedRoute, NavigationEnd } from '@angular/router';
|
||||
import { formatDate } from '@angular/common';
|
||||
import { AlertService } from 'src/app/services/alert.service';
|
||||
|
||||
|
||||
@Component({
|
||||
@@ -37,7 +38,10 @@ export class EventsPage implements OnInit {
|
||||
|
||||
showLoader: boolean;
|
||||
|
||||
constructor(private eventService: EventsService, private router: Router, public activatedRoute: ActivatedRoute) { }
|
||||
constructor(private eventService: EventsService,
|
||||
private router: Router,
|
||||
public activatedRoute: ActivatedRoute,
|
||||
private alertController: AlertService) { }
|
||||
|
||||
ngOnInit() {
|
||||
//Inicializar segment
|
||||
@@ -110,5 +114,9 @@ export class EventsPage implements OnInit {
|
||||
this.router.navigate(['/home/events']);
|
||||
}
|
||||
|
||||
showAlert(){
|
||||
this.alertController.presentAlert("Funcionalidade em desenvolvimento!");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user