mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
put loader in gabinete method enviar para pendentes
This commit is contained in:
@@ -426,10 +426,12 @@ export class PedidoPage implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sendExpedienteToPending() {
|
sendExpedienteToPending() {
|
||||||
|
const loader = this.toastService.loading()
|
||||||
this.processes.SetTaskToPending(this.serialnumber).subscribe(res => {
|
this.processes.SetTaskToPending(this.serialnumber).subscribe(res => {
|
||||||
this.goBack();
|
this.goBack();
|
||||||
|
loader.remove()
|
||||||
}, () => {
|
}, () => {
|
||||||
|
loader.remove()
|
||||||
this.toastService._badRequest('Processo não encontrado')
|
this.toastService._badRequest('Processo não encontrado')
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user