mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
fix agenda and publication
This commit is contained in:
@@ -162,28 +162,28 @@ export class EditEventPage implements OnInit {
|
||||
|
||||
Save()
|
||||
{
|
||||
if (this.ionicForm.valid){
|
||||
// if (this.ionicForm.valid){
|
||||
|
||||
this.activatedRoute.paramMap.subscribe(paramMap =>{
|
||||
if (paramMap.has("profile")){
|
||||
// this.activatedRoute.paramMap.subscribe(paramMap =>{
|
||||
// if (paramMap.has("profile")){
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
// }
|
||||
// });
|
||||
|
||||
this.eventsService.editEvent(this.loadedEvent, 2, 3).subscribe(async () =>
|
||||
{
|
||||
const alert = await this.alertController.create({
|
||||
cssClass: 'my-custom-class',
|
||||
header: 'Evento actualizado',
|
||||
buttons: ['OK']
|
||||
});
|
||||
// this.eventsService.editEvent(this.loadedEvent, 2, 3).subscribe(async () =>
|
||||
// {
|
||||
// const alert = await this.alertController.create({
|
||||
// cssClass: 'my-custom-class',
|
||||
// header: 'Evento actualizado',
|
||||
// buttons: ['OK']
|
||||
// });
|
||||
|
||||
setTimeout(()=>{
|
||||
alert.dismiss();
|
||||
}, 1500);
|
||||
});
|
||||
}
|
||||
// setTimeout(()=>{
|
||||
// alert.dismiss();
|
||||
// }, 1500);
|
||||
// });
|
||||
// }
|
||||
}
|
||||
|
||||
showAlert(){
|
||||
|
||||
Reference in New Issue
Block a user