remove validation for PR profile

This commit is contained in:
Eudes Inácio
2023-11-06 09:36:56 +01:00
parent 3d2a1536ed
commit b7d578ab82
2 changed files with 9 additions and 9 deletions
@@ -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