File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
x-pack/plugins/upgrade_assistant/public/application/components Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export const ComingSoonPrompt: React.FunctionComponent = () => {
3535 < FormattedMessage
3636 id = "xpack.upgradeAssistant.emptyPrompt.upgradeAssistantDescription"
3737 defaultMessage = "The Upgrade Assistant identifies deprecated settings in your cluster and helps you
38- resolve issues before you upgrade. Check back here when it's time to upgrade to Elasticsearch {nextMajor}."
38+ resolve issues before you upgrade. Check back here when it's time to upgrade your Elastic Stack to {nextMajor}."
3939 values = { { nextMajor : `${ nextMajor } .0` } }
4040 />
4141 </ p >
Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ import React from 'react';
99import { EuiPageHeader , EuiPageHeaderSection , EuiTitle } from '@elastic/eui' ;
1010import { FormattedMessage } from '@kbn/i18n/react' ;
1111
12- import { AppContext , useAppContext } from '../app_context' ;
12+ import { useAppContext } from '../app_context' ;
1313import { ComingSoonPrompt } from './coming_soon_prompt' ;
1414import { UpgradeAssistantTabs } from './tabs' ;
1515
1616export const PageContent : React . FunctionComponent = ( ) => {
17- const { kibanaVersionInfo, isReadOnlyMode } = useAppContext ( ) ;
17+ const { kibanaVersionInfo, isReadOnlyMode, http } = useAppContext ( ) ;
1818 const { nextMajor } = kibanaVersionInfo ;
1919
2020 // Read-only mode will be enabled up until the last minor before the next major release
@@ -38,9 +38,7 @@ export const PageContent: React.FunctionComponent = () => {
3838 </ EuiPageHeaderSection >
3939 </ EuiPageHeader >
4040
41- < AppContext . Consumer >
42- { ( { http } ) => < UpgradeAssistantTabs http = { http } /> }
43- </ AppContext . Consumer >
41+ < UpgradeAssistantTabs http = { http } />
4442 </ >
4543 ) ;
4644} ;
You can’t perform that action at this time.
0 commit comments