diff --git a/src/frontend/app/attachments/attachment-create/attachment-create.component.ts b/src/frontend/app/attachments/attachment-create/attachment-create.component.ts index 79079b8ae47bd2ece3f05fda469cee7632f79fcb..b12cc867d2bbd0ed4709231ab6352dacec3ae2b6 100644 --- a/src/frontend/app/attachments/attachment-create/attachment-create.component.ts +++ b/src/frontend/app/attachments/attachment-create/attachment-create.component.ts @@ -330,8 +330,6 @@ export class AttachmentCreateComponent implements OnInit { Object.keys(formgroup.controls).forEach(key => { formgroup.controls[key].markAsTouched(); }); - console.log(formgroup.controls); - if (formgroup.status === 'INVALID') { state = false; } @@ -408,8 +406,6 @@ export class AttachmentCreateComponent implements OnInit { this.appDocumentViewer.toArray()[this.asyncIndexTab].getFile().pipe( take(1), tap((data) => { - console.log(data); - this.attachments[this.asyncIndexTab].encodedFile.setValue(data.content); this.attachments[this.asyncIndexTab].format.setValue(data.format); this.asyncIndexTab = index; diff --git a/src/lang/lang-fr.json b/src/lang/lang-fr.json index 9a4a522ff50c4336401892771a52d353db38c49e..ffdd5302775f7d73ab64c71d99415f6b84e5ece9 100644 --- a/src/lang/lang-fr.json +++ b/src/lang/lang-fr.json @@ -164,7 +164,7 @@ "attachmentGenerated": "Pièces jointes générées", "attachmentShort": "PJ", "attachmentSignature": "Signature des documents intégrés au parapheur", - "attachmentType": "Type d'attachement", + "attachmentType": "Type de pièce jointe", "attachmentUpdated": "Pièce jointe modifiée", "attachment_A_TRA": "À traiter", "attachment_FRZ": "Gelée",