This commit is contained in:
Peter Maquiran
2021-06-29 10:29:45 +01:00
parent 9446e15877
commit 58375eaf8f
2 changed files with 2 additions and 11 deletions
@@ -104,15 +104,6 @@ export class ViewEventPage implements OnInit {
deleteEvent(){
this.eventsService.deleteEvent(this.loadedEvent.EventId, 0).subscribe(async () =>
{
const alert = await this.alertController.create({
cssClass: 'my-custom-class',
header: 'Evento removido',
buttons: ['OK']
});
setTimeout(()=>{
alert.dismiss();
}, 1500);
this.toastService.successMessage('Evento apagado');
this.close();
});