diff --git a/src/app/pages/gabinete-digital/pedidos/pedido/pedido.page.ts b/src/app/pages/gabinete-digital/pedidos/pedido/pedido.page.ts index 1cc83898c..64062f9b8 100644 --- a/src/app/pages/gabinete-digital/pedidos/pedido/pedido.page.ts +++ b/src/app/pages/gabinete-digital/pedidos/pedido/pedido.page.ts @@ -176,19 +176,15 @@ export class PedidoPage implements OnInit { }, (error) => { if (error.status == 0) { this.getfromDb(); + this.toastService._badRequest('Sem acesso à internet. Por favor verifique sua conexão') } else { + this.toastService._badRequest('Processo não encontrado') try { this.goBack() this.close() } catch (e) { window.history.back(); } - if(error.status == 0) { - this.toastService._badRequest('Sem acesso à internet. Por favor verifique sua conexão') - } else { - - this.toastService._badRequest('Processo não encontrado') - } } }); diff --git a/version/git-version.ts b/version/git-version.ts index 0c95a4872..443d3c31a 100644 --- a/version/git-version.ts +++ b/version/git-version.ts @@ -1,12 +1,12 @@ export let versionData = { - "shortSHA": "6b9c995e3", - "SHA": "6b9c995e31539adabc75487cd3c20143332941be", + "shortSHA": "61c0018c5", + "SHA": "61c0018c5d8d6f71c59b721862c4f1dad06025d0", "branch": "no_bug_movemente", "lastCommitAuthor": "'Peter Maquiran'", - "lastCommitTime": "'Mon Feb 6 09:23:36 2023 +0100'", - "lastCommitMessage": "fix goback", - "lastCommitNumber": "4724", + "lastCommitTime": "'Mon Feb 6 10:04:26 2023 +0100'", + "lastCommitMessage": "improve", + "lastCommitNumber": "4725", "change": "", - "changeStatus": "On branch no_bug_movemente\nChanges to be committed:\n (use \"git restore --staged ...\" to unstage)\n\tmodified: src/app/pages/publications/view-publications/publication-detail/publication-detail.page.html\n\tmodified: src/app/pages/publications/view-publications/publication-detail/publication-detail.page.ts\n\tmodified: src/app/shared/agenda/edit-event-to-approve/edit-event-to-approve.page.ts", + "changeStatus": "On branch no_bug_movemente\nAll conflicts fixed but you are still merging.\n (use \"git commit\" to conclude merge)\n\nChanges to be committed:\n\tmodified: src/app/pages/gabinete-digital/pedidos/pedido/pedido.page.ts\n\tmodified: version/git-version.ts", "changeAuthor": "peter.maquiran" } \ No newline at end of file