prefilling source ui bug fix

This commit is contained in:
amentis 2024-05-20 18:13:22 +03:00
parent 49df7d7fa1
commit 6facf9f7d4
1 changed files with 2 additions and 1 deletions

View File

@ -252,7 +252,8 @@ export class PrefillingSourceEditorComponent extends BaseEditor<PrefillingSource
fieldForm.markAsDirty();
// this.removeFieldMapping((this.formGroup.get('definition').get('searchConfiguration') as FormGroup), fieldCode);
if(this.formGroup.get('definition').get('getEnabled').value == true) this.removeFieldMapping((this.formGroup.get('definition').get('getConfiguration') as FormGroup), fieldCode);
if (this.formGroup.get('definition').get('getEnabled').value == true) this.removeFieldMapping((this.formGroup.get('definition').get('getConfiguration') as FormGroup), fieldCode);
else this.removeFieldMapping((this.formGroup.get('definition').get('searchConfiguration') as FormGroup), fieldCode);
}
submitFields(): void {