mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Fix: fix potential race condition when creating new custom fields on doc details (#9542)
This commit is contained in:
		| @@ -1286,9 +1286,7 @@ export class DocumentDetailComponent | ||||
|     this.document.custom_fields?.forEach((fieldInstance) => { | ||||
|       this.customFieldFormFields.push( | ||||
|         new FormGroup({ | ||||
|           field: new FormControl( | ||||
|             this.getCustomFieldFromInstance(fieldInstance)?.id | ||||
|           ), | ||||
|           field: new FormControl(fieldInstance.field), | ||||
|           value: new FormControl(fieldInstance.value), | ||||
|         }), | ||||
|         { emitEvent } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon