Skip to content

Commit

Permalink
Update _entityFile_-update.tsx.ejs
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Nov 23, 2023
1 parent 8fbb2a9 commit 1cb7250
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ let uniqueRelationFields = new Set();

Object.keys(differentRelationships).forEach(key => {

const hasAnyRelationshipQuery = differentRelationships[key].some(rel => rel.persistableRelationship && (!rel.otherEntity.builtInUser || !rel.relationshipOneToOne));
const hasAnyRelationshipQuery = differentRelationships[key].some(rel => rel.persistableRelationship);
if (hasAnyRelationshipQuery) {
hasRelationshipQuery = true;
differentRelationships[key].forEach(rel => {
Expand Down

0 comments on commit 1cb7250

Please sign in to comment.