mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
Fix loader in create process
This commit is contained in:
@@ -59,6 +59,8 @@ export class DespachoPage implements OnInit {
|
||||
this.caller = params["params"].caller;
|
||||
}
|
||||
});
|
||||
|
||||
alert('nice')
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
@@ -191,8 +193,8 @@ export class DespachoPage implements OnInit {
|
||||
|
||||
try {
|
||||
await this.processes.CompleteTask(body).toPromise()
|
||||
this.close();
|
||||
this.toastService.successMessage('Processo criado')
|
||||
this.close();
|
||||
} catch(error) {
|
||||
this.toastService.badRequest("Processo não criado")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user