console: quickfix for missing redux prop props

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6626
GitOrigin-RevId: 9b4d014086603cb64fb89b580c4f28ad9120ee1a
This commit is contained in:
Erik Magnusson 2022-10-31 11:43:31 +02:00 committed by hasura-bot
parent 27875e0260
commit e784e33d3d

View File

@ -322,7 +322,7 @@ const mapStateToProps = state => {
allSourcesSchemas: state.tables?.allSourcesSchemas,
pathname: state?.routing?.locationBeforeTransitions?.pathname,
dataSources: getDataSources(state),
sidebarLoadingState: state.dataSidebar.loading,
sidebarLoadingState: !!state.dataSidebar?.loading,
metadataSources: state.metadata.metadataObject.sources,
};
};