Event personification solved and event confirmation delete

This commit is contained in:
Eudes Inácio
2022-12-16 15:38:59 +01:00
11 changed files with 172 additions and 66 deletions
@@ -150,6 +150,29 @@ export class ViewEventPage implements OnInit {
}
deleteYesOrNo() {
this.alertController.create({
header: 'Eliminar evento?',
message: '',
buttons: [
{
text: 'Não',
handler: () => {
console.log('Let me think');
}
},
{
text: 'Sim',
handler: () => {
this.deleteEvent();
}
}
]
}).then(res => {
res.present();
});
}
async deleteEvent() {
if (this.loadedEvent.IsRecurring) {