diff --git a/package-lock.json b/package-lock.json index 6ed7dd739..155e459ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13029,10 +13029,9 @@ } }, "node_modules/core-js": { - "version": "3.18.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.18.1.tgz", - "integrity": "sha512-vJlUi/7YdlCZeL6fXvWNaLUPh/id12WXj3MbkMw5uOyF0PfWPBNOCNbs53YqgrvtujLNlt9JQpruyIKkUZ+PKA==", - "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", + "version": "3.33.2", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.33.2.tgz", + "integrity": "sha512-XeBzWI6QL3nJQiHmdzbAOiMYqjrb7hwU7A39Qhvd/POSa/t9E1AeZyEZx3fNvp/vtM8zXwhoL0FsiS0hD0pruQ==", "hasInstallScript": true, "funding": { "type": "opencollective", @@ -53635,9 +53634,9 @@ "integrity": "sha512-dTBxYaX/RGzH6+pp49o4sb3FuHCvhrssaKn1XMJ4LL3f9dnvz3rhFK2LdcWrdFkhOLOndnW/azUkbzZd+WWhRA==" }, "core-js": { - "version": "3.18.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.18.1.tgz", - "integrity": "sha512-vJlUi/7YdlCZeL6fXvWNaLUPh/id12WXj3MbkMw5uOyF0PfWPBNOCNbs53YqgrvtujLNlt9JQpruyIKkUZ+PKA==" + "version": "3.33.2", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.33.2.tgz", + "integrity": "sha512-XeBzWI6QL3nJQiHmdzbAOiMYqjrb7hwU7A39Qhvd/POSa/t9E1AeZyEZx3fNvp/vtM8zXwhoL0FsiS0hD0pruQ==" }, "core-js-compat": { "version": "3.26.1", diff --git a/src/app/modals/create-process/create-process.page.ts b/src/app/modals/create-process/create-process.page.ts index 91d9529f1..c7379a1e8 100644 --- a/src/app/modals/create-process/create-process.page.ts +++ b/src/app/modals/create-process/create-process.page.ts @@ -420,7 +420,7 @@ export class CreateProcessPage implements OnInit { AttachmentList: docs } - if (this.postData.DispatchFolder.Message) { + /* if (this.postData.DispatchFolder.Message) { */ try { await this.despachoService.createDespacho(this.postData).toPromise(); await this.despachoService.CompleteTask({ serialNumber: this.task.serialNumber, note: this.dispatchFolder.Message }).toPromise(); @@ -432,11 +432,11 @@ export class CreateProcessPage implements OnInit { } finally { loader.remove(); } - } + /* } else { this.validateField = true; this.toastService._badRequest('Por favor adicione uma descrição'); - } + } */ loader.remove(); break; case '1': // Pedido de Parecer diff --git a/src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page.ts b/src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page.ts index c930038f9..7d990fbb0 100644 --- a/src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page.ts +++ b/src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page.ts @@ -461,7 +461,7 @@ export class ExpedientTaskModalPage implements OnInit { } } - if(this.postData.DispatchFolder.Message){ + /* if(this.postData.DispatchFolder.Message){ */ try { this.taskResult = await this.despachoService.createDespacho(this.postData).toPromise(); await this.httpErroHandle.httpsSucessMessagge('Efetuar Despacho') @@ -471,11 +471,11 @@ export class ExpedientTaskModalPage implements OnInit { } finally { //loader.remove() } - } + /* } else{ this.validateField = true; this.toastService._badRequest('Por favor adicione uma descrição'); - } + } */ loader.remove(); break; diff --git a/src/app/pages/publications/new-publication/new-publication.page.html b/src/app/pages/publications/new-publication/new-publication.page.html index 944049c25..d6a6f194b 100644 --- a/src/app/pages/publications/new-publication/new-publication.page.html +++ b/src/app/pages/publications/new-publication/new-publication.page.html @@ -27,7 +27,7 @@ -
+
Fotografia Anexada
@@ -36,8 +36,8 @@ -