This commit is contained in:
Paulo Pinto
2020-08-28 11:46:29 +01:00
6 changed files with 73 additions and 13 deletions
+9 -1
View File
@@ -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!");
}
}