mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
console: allow creating remote joins from and to the same remote schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7879 GitOrigin-RevId: bce0c66a17d5214800ae1b08d4ad46a9501e9295
This commit is contained in:
parent
b01d3a45de
commit
466e60ca8c
@ -46,7 +46,7 @@ const useLoadData = (sourceRemoteSchema: string) => {
|
||||
}, [fetchSchema, sourceRemoteSchema]);
|
||||
|
||||
const remoteSchemaList = React.useMemo(() => {
|
||||
return data?.filter(schemaName => schemaName !== sourceRemoteSchema);
|
||||
return data;
|
||||
}, [data, sourceRemoteSchema]);
|
||||
|
||||
const remoteSchemaTypes = (rsData && getTypesFromIntrospection(rsData)) ?? [];
|
||||
|
Loading…
Reference in New Issue
Block a user