Update document-detail.component.ts

This commit is contained in:
shamoon 2023-11-01 22:22:15 -07:00
parent e06a98da37
commit 383a5ed089

View File

@ -838,7 +838,7 @@ export class DocumentDetailComponent
updateFormForCustomFields(emitEvent: boolean = false) { updateFormForCustomFields(emitEvent: boolean = false) {
this.customFieldFormFields.clear({ emitEvent: false }) this.customFieldFormFields.clear({ emitEvent: false })
this.document.custom_fields.forEach((fieldInstance) => { this.document.custom_fields?.forEach((fieldInstance) => {
this.customFieldFormFields.push( this.customFieldFormFields.push(
new FormGroup({ new FormGroup({
field: new FormGroup({ field: new FormGroup({