This commit is contained in:
Peter Maquiran
2021-07-17 15:02:02 +01:00
parent ea087ae2af
commit cfef3ae7f0
@@ -154,8 +154,14 @@ export class PedidoPage implements OnInit {
});
this.getDocumentDetails(res.workflowInstanceDataFields.FolderID, '361');
}, ()=>{
this.toastService.badRequest('Processo não encontrado')
this.goBack()
try {
this.toastService.badRequest('Processo não encontrado')
this.goBack()
this.close()
} catch (e) {
window.history.back();
}
});
}