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
@@ -454,8 +454,8 @@ export class ExpedientTaskModalPage implements OnInit {
}
}
if(this.postData.DispatchFolder.Message){
if(this.selectedTypes.length > 0) {
/* if(this.postData.DispatchFolder.Message){
if(this.selectedTypes.length > 0) { */
try {
this.taskResult = await this.despachoService.createDespacho(this.postData).toPromise();
await this.httpErroHandle.httpsSucessMessagge('Efetuar Despacho')
@@ -465,16 +465,16 @@ export class ExpedientTaskModalPage implements OnInit {
} finally {
//loader.remove()
}
} else {
/* } else {
this.validateField = true;
this.toastService._badRequest('Por favor selecione um assunto');
}
} */
}
/* }
else{
this.validateField = true;
this.toastService._badRequest('Por favor adicione uma descrição');
}
} */
loader.remove();
break;