diff --git a/x-pack/plugins/infra/public/pages/logs/stream/page_content.tsx b/x-pack/plugins/infra/public/pages/logs/stream/page_content.tsx index 6fb2475d3d1e8..b011931adbd85 100644 --- a/x-pack/plugins/infra/public/pages/logs/stream/page_content.tsx +++ b/x-pack/plugins/infra/public/pages/logs/stream/page_content.tsx @@ -18,6 +18,7 @@ import { } from '../../../observability_logs/log_stream_page/state'; import { InvalidStateCallout } from '../../../observability_logs/xstate_helpers'; import { ConnectedLogViewErrorPage } from '../shared/page_log_view_error'; +import { LogStreamPageTemplate } from './components/stream_page_template'; import { StreamPageLogsContentForState } from './page_logs_content'; import { StreamPageMissingIndicesContent } from './page_missing_indices_content'; import { LogStreamPageContentProviders } from './page_providers'; @@ -79,15 +80,17 @@ export const StreamPageContentForState: React.FC<{ return ; } else if (logStreamPageState.matches({ hasLogViewIndices: 'initialized' })) { return ( - - + - + > + + + ); } else { return ; diff --git a/x-pack/plugins/infra/public/pages/logs/stream/page_logs_content.tsx b/x-pack/plugins/infra/public/pages/logs/stream/page_logs_content.tsx index 43f692cf9af8c..4cfd284ec4530 100644 --- a/x-pack/plugins/infra/public/pages/logs/stream/page_logs_content.tsx +++ b/x-pack/plugins/infra/public/pages/logs/stream/page_logs_content.tsx @@ -38,7 +38,6 @@ import { import { type ParsedQuery } from '../../../observability_logs/log_stream_query_state'; import { MatchedStateFromActor } from '../../../observability_logs/xstate_helpers'; import { datemathToEpochMillis, isValidDatemath } from '../../../utils/datemath'; -import { LogStreamPageTemplate } from './components/stream_page_template'; import { LogsToolbar } from './page_toolbar'; import { PageViewLogInContext } from './page_view_log_in_context'; @@ -218,7 +217,7 @@ export const StreamPageLogsContent = React.memo<{ ); return ( - + <> @@ -284,7 +283,7 @@ export const StreamPageLogsContent = React.memo<{ }} - + ); });