diff --git a/public/app/features/explore/Logs/Logs.tsx b/public/app/features/explore/Logs/Logs.tsx index 22cfb52d6ff..c98eec23cf6 100644 --- a/public/app/features/explore/Logs/Logs.tsx +++ b/public/app/features/explore/Logs/Logs.tsx @@ -1027,7 +1027,7 @@ const UnthemedLogs: React.FunctionComponent = (props: Props) => { /> )} - {config.featureToggles.logsPanelControls && hasData && ( + {!config.featureToggles.newLogsPanel && config.featureToggles.logsPanelControls && hasData && (
= (props: Props) => { />
)} - {!config.featureToggles.logsPanelControls && visualisationType === 'logs' && hasData && ( - <> -
- - - -
- - - )} {!config.featureToggles.logsPanelControls && + !config.featureToggles.newLogsPanel && visualisationType === 'logs' && - hasData && - config.featureToggles.newLogsPanel && ( -
- {logsContainerRef.current && ( - +
+ - )} -
+ rows={logRows} + scrollElement={logsContainerRef.current} + sortOrder={logsSortOrder} + app={CoreApp.Explore} + > + + +
+ + )} + {config.featureToggles.newLogsPanel && visualisationType === 'logs' && hasData && ( +
+ {logsContainerRef.current && ( + + )} +
+ )} {!loading && !hasData && !scanning && (