Skip to content

Commit

Permalink
Change name of property fields in MintLookupDataService to avoid skip…
Browse files Browse the repository at this point in the history
… clone
  • Loading branch information
alejandro-bulgaris-qcif committed Oct 18, 2023
1 parent 78670a9 commit fd3ab1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions angular-legacy/shared/form/field-vocab.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ class MintLookupDataService extends Subject<CompleterItem[]> implements Complete

constructor(private url: string,
private http: Http,
private fields: string[],
private lookupResponseFields: string[],
private compositeTitleName: string,
private titleFieldArr: string[],
private titleFieldDelim: any[],
Expand Down Expand Up @@ -532,7 +532,7 @@ class MintLookupDataService extends Subject<CompleterItem[]> implements Complete
return null;
}
const item: any = {};
_.forEach(this.fields, (fieldName) => {
_.forEach(this.lookupResponseFields, (fieldName) => {
if (_.isString(fieldName)) {
item[fieldName] = data[fieldName];
} else {
Expand Down

0 comments on commit fd3ab1c

Please sign in to comment.