This commit is contained in:
tiago.kayaya
2021-06-17 16:12:56 +01:00
parent 4b067e2517
commit 0c32592894
16 changed files with 94 additions and 75 deletions
@@ -127,10 +127,9 @@ export class ApproveEventPage implements OnInit {
try {
await this.processes.PostTaskAction(body).toPromise()
this.router.navigate(['/home/gabinete-digital/event-list']);
this.modalController.dismiss(null);
this.toastService.successMessage('Evento rejeitado')
} catch (error) {
this.toastService.badRequest('Evento não rejeitado')
this.toastService.badRequest('Processo não efectuado')
}
}