Logs: fix running condition causing LogList to not be rendered (#109768)

This commit is contained in:
Matias Chomicki
2025-08-16 14:47:37 +00:00
committed by GitHub
parent afa09154f7
commit 2695ed91d1
+2 -2
View File
@@ -1125,9 +1125,9 @@ const UnthemedLogs: React.FunctionComponent<Props> = (props: Props) => {
/>
</>
)}
{config.featureToggles.newLogsPanel && visualisationType === 'logs' && hasData && (
{config.featureToggles.newLogsPanel && visualisationType === 'logs' && (
<div data-testid="logRows" ref={logsContainerRef} className={styles.logRowsWrapper}>
{logsContainerRef.current && (
{logsContainerRef.current && hasData && (
<LogList
app={CoreApp.Explore}
containerElement={logsContainerRef.current}