This commit is contained in:
Peter Maquiran
2021-07-17 15:25:56 +01:00
parent cfef3ae7f0
commit 293c1690cc
7 changed files with 36 additions and 13 deletions
@@ -138,8 +138,12 @@ export class DespachoPrPage implements OnInit {
this.getDocumentDetails(this.task.FolderId, '361');
}, ()=>{
this.toastService.badRequest('Processo não encontrado')
this.goBack()
try {
this.toastService.badRequest('Processo não encontrado')
this.goBack()
} catch (e) {
window.history.back();
}
});
}