This commit is contained in:
Peter Maquiran
2023-02-14 16:35:11 +01:00
parent 3b41314b65
commit 940d2532af
3 changed files with 10 additions and 13 deletions
@@ -214,16 +214,15 @@ export class ApproveEventPage implements OnInit {
try {
await this.processes.PostTaskAction(body).toPromise()
this.toastService._successMessage();
this.goBack();
this.toastService._successMessage('Evento Aprovar')
this.toastService._successMessage('Evento aprovado')
} catch (error) {
if(error.status == 0) {
this.toastService._badRequest('Sem acesso à internet. Por favor verifique sua conexão')
} else {
this.toastService._badRequest('Evento não aprovar')
this.toastService._badRequest('Evento não aprovado')
}
}
finally {