This commit is contained in:
tiago.kayaya
2021-02-01 09:17:38 +01:00
parent 8c200ad900
commit 662e62a926
3 changed files with 29 additions and 4 deletions
@@ -59,7 +59,6 @@ export class EditEventPage implements OnInit {
console.log(this.postEvent);
this.eventsService.editEvent(this.postEvent, 2, 3).subscribe(async () => {
this.isEventEdited = true;
const alert = await this.alertController.create({
cssClass: 'my-custom-class',
header: 'Evento actualizado',
@@ -67,7 +66,7 @@ export class EditEventPage implements OnInit {
});
await alert.present();
});
this.isEventEdited = true;
this.modalController.dismiss(this.isEventEdited);
}