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
@@ -161,8 +161,12 @@ export class ExpedienteDetailPage implements OnInit {
console.log('this.task.DocumentURL', this.task.DocumentURL)
}, ()=>{
this.toastService.badRequest('Processo não encontrado')
this.goBack()
try {
this.toastService.badRequest('Processo não encontrado')
this.goBack()
} catch (e) {
window.history.back();
}
});