Skip to content

Commit

Permalink
BH-67247 rebase and update type
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDill committed Jun 19, 2020
1 parent afb50db commit 7dba111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/MetaService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export class MetaService {
this.fields.push(field);
} else if (field.associatedEntity && field.associatedEntity.fields) {
for (const assocEntityField of field.associatedEntity.fields) {
const assocEntityFieldExists = exists.associatedEntity.fields.find((f: any) => f.name === assocEntityField.name);
const assocEntityFieldExists = exists.associatedEntity.fields.find((f: { name: string }) => f.name === assocEntityField.name);
if (!assocEntityFieldExists) {
exists.associatedEntity.fields.push(assocEntityField);
}
Expand Down

0 comments on commit 7dba111

Please sign in to comment.