diff --git a/x-pack/legacy/plugins/snapshot_restore/public/app/components/restore_snapshot_form/steps/step_settings.tsx b/x-pack/legacy/plugins/snapshot_restore/public/app/components/restore_snapshot_form/steps/step_settings.tsx index 49adf302e735d..6933c47a10ec4 100644 --- a/x-pack/legacy/plugins/snapshot_restore/public/app/components/restore_snapshot_form/steps/step_settings.tsx +++ b/x-pack/legacy/plugins/snapshot_restore/public/app/components/restore_snapshot_form/steps/step_settings.tsx @@ -16,6 +16,7 @@ import { EuiSpacer, EuiSwitch, EuiTitle, + EuiLink, } from '@elastic/eui'; import { RestoreSettings } from '../../../../../common/types'; import { REMOVE_INDEX_SETTINGS_SUGGESTIONS } from '../../../constants'; @@ -57,6 +58,16 @@ export const RestoreSnapshotStepSettings: React.FunctionComponent = ( })) ); + // Index settings doc link + const indexSettingsDocLink = ( + + + + ); + return (
{/* Step title and doc link */} @@ -104,7 +115,10 @@ export const RestoreSnapshotStepSettings: React.FunctionComponent = ( description={ } idAria="stepSettingsIndexSettingsDescription" @@ -215,7 +229,10 @@ export const RestoreSnapshotStepSettings: React.FunctionComponent = ( description={ } idAria="stepSettingsIgnoreIndexSettingsDescription" diff --git a/x-pack/legacy/plugins/snapshot_restore/public/app/services/documentation/documentation_links.ts b/x-pack/legacy/plugins/snapshot_restore/public/app/services/documentation/documentation_links.ts index 8bc0934dae017..324f4d026c0b9 100644 --- a/x-pack/legacy/plugins/snapshot_restore/public/app/services/documentation/documentation_links.ts +++ b/x-pack/legacy/plugins/snapshot_restore/public/app/services/documentation/documentation_links.ts @@ -52,6 +52,10 @@ class DocumentationLinksService { public getRestoreIndexSettingsUrl() { return `${this.esDocBasePath}/modules-snapshots.html#_changing_index_settings_during_restore`; } + + public getIndexSettingsUrl() { + return `${this.esDocBasePath}/index-modules.html`; + } } export const documentationLinksService = new DocumentationLinksService();