This commit is contained in:
tiago.kayaya
2021-06-10 13:40:57 +01:00
parent 08ac723ed3
commit 941447a479
7 changed files with 60 additions and 49 deletions
+7 -4
View File
@@ -253,8 +253,10 @@ export class AgendaPage implements OnInit {
//Show information of the event
async onEventSelected(ev: { event: Event}){
this.viewEventDetail(ev.event.EventId);
/* this.router.navigate(["/home/agenda", ev.event.EventId, 'agenda']); */
/* this.viewEventDetail(ev.event.EventId); */
console.log('DOVE');
this.router.navigate(["/home/agenda", ev.event.EventId, 'agenda']);
}
onCurrentChanged = (ev: Date) => {
@@ -1206,7 +1208,8 @@ export class AgendaPage implements OnInit {
// open component
async viewEventDetail(eventId:any) {
console.log(this.profile);
this.router.navigate(['/home/agenda', eventId, 'agenda']);
/* console.log(this.profile);
const modal = await this.modalCtrl.create({
component: ViewEventPage,
@@ -1222,7 +1225,7 @@ export class AgendaPage implements OnInit {
if(res){
// this.viewEventDetailDismiss(res);
}
});
}); */
}
// open component