Skip to content

Commit

Permalink
react
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Nov 23, 2023
1 parent 9322ca1 commit 8fbb2a9
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);
const hasAnyRelationshipQuery = differentRelationships[key].some(rel => rel.persistableRelationship && (!rel.otherEntity.builtInUser || !rel.relationshipOneToOne));
if (hasAnyRelationshipQuery) {
hasRelationshipQuery = true;
differentRelationships[key].forEach(rel => {
Expand Down

0 comments on commit 8fbb2a9

Please sign in to comment.