mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user