Merge pull request #11931 from Budibase/fix/relationship-bug

Fix relationship direction issue
This commit is contained in:
Peter Clement 2023-09-29 12:42:08 +01:00 committed by GitHub
commit be03b08508
1 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@
}
let relationshipMap = {
[RelationshipType.MANY_TO_ONE]: {
[RelationshipType.ONE_TO_MANY]: {
part1: PrettyRelationshipDefinitions.MANY,
part2: PrettyRelationshipDefinitions.ONE,
},
@ -93,7 +93,7 @@
part1: PrettyRelationshipDefinitions.MANY,
part2: PrettyRelationshipDefinitions.MANY,
},
[RelationshipType.ONE_TO_MANY]: {
[RelationshipType.MANY_TO_ONE]: {
part1: PrettyRelationshipDefinitions.ONE,
part2: PrettyRelationshipDefinitions.MANY,
},