mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
prevent console crash when using native queries in an array relationship
GITHUB_PR_NUMBER: 10163 GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/10163 PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10717 Co-authored-by: Alec Flett <135340+alecf@users.noreply.github.com> GitOrigin-RevId: a21c22dfddd5cbbd03bd43676b47e5dd0f9f38e6
This commit is contained in:
parent
8489a4b9b0
commit
39e24189f3
@ -69,7 +69,7 @@ const isExistingArrRel = (currentArrRels, relCols, relTable) => {
|
||||
currRCol = Object.values(arrRelDef.manual_configuration.column_mapping);
|
||||
}
|
||||
|
||||
if (currTable.name === relTable && sameRelCols(currRCol, relCols)) {
|
||||
if (currTable?.name === relTable && sameRelCols(currRCol, relCols)) {
|
||||
_isExistingArrRel = true;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user