fix: not found is not visible when loading is visible (#3155)

This commit is contained in:
Palash Gupta 2023-07-17 15:27:37 +05:30 committed by GitHub
parent 69828548b1
commit c68b611ad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,12 +146,17 @@ function LogsExplorerList({
isShowPageSize={false}
optionsMenuConfig={config}
/>
{options.format !== 'table' && (
<Heading>
<Typography.Text>Event</Typography.Text>
</Heading>
)}
{logs.length === 0 && <Typography>No logs lines found</Typography>}
{!isLoading && logs.length === 0 && (
<Typography>No logs lines found</Typography>
)}
<InfinityWrapperStyled>{renderContent}</InfinityWrapperStyled>
</>
);