mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
console (fix): fix issue with permissions tab when metadata is in loading state
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9381 GitOrigin-RevId: 354d48fe69bfed42d4a4d4a8a1f8756c057cc8be
This commit is contained in:
parent
3ce1b414b4
commit
0d347c1a32
@ -2072,7 +2072,7 @@ const PermissionsWrapper = props => {
|
||||
const { data: source, isLoading: isLoadingMetadata } = useMetadata(
|
||||
MetadataSelectors.findSource(props.currentSource)
|
||||
);
|
||||
const isBigQuery = source.kind === 'bigquery';
|
||||
const isBigQuery = source?.kind === 'bigquery';
|
||||
|
||||
if (isFeatureFlagsLoading || isLoadingMetadata) return <div>Loading...</div>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user