fix(browse): fix browse double click issue (#4382)

This commit is contained in:
Gabe Lyons 2022-03-11 08:46:26 -08:00 committed by GitHub
parent fab9c23aa5
commit 7eb0017c44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ export const BrowseResultsPage = () => {
<LegacyBrowsePath type={entityType} path={path} isBrowsable />
</Affix>
{loading && <Message type="loading" content="Loading..." style={{ marginTop: '10%' }} />}
{data && data.browse && (
{data && data.browse && !loading && (
<BrowseResults
type={entityType}
rootPath={rootPath}