From 3a45b0a23673299223b3106c6679e262ef6615ad Mon Sep 17 00:00:00 2001 From: Yulia Cech Date: Mon, 30 Aug 2021 13:39:47 +0200 Subject: [PATCH] [ILM] Fixed loading layout that has degraded after adding RedirectAppLinks --- .../index_lifecycle_management/public/application/index.tsx | 4 ++-- .../index_lifecycle_management/public/shared_imports.ts | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/index_lifecycle_management/public/application/index.tsx b/x-pack/plugins/index_lifecycle_management/public/application/index.tsx index de399e068be07..5a6d8bb878c37 100644 --- a/x-pack/plugins/index_lifecycle_management/public/application/index.tsx +++ b/x-pack/plugins/index_lifecycle_management/public/application/index.tsx @@ -12,7 +12,7 @@ import { UnmountCallback } from 'src/core/public'; import { CloudSetup } from '../../../cloud/public'; import { ILicense } from '../../../licensing/public'; -import { KibanaContextProvider } from '../shared_imports'; +import { KibanaContextProvider, APP_WRAPPER_CLASS } from '../shared_imports'; import { App } from './app'; @@ -30,7 +30,7 @@ export const renderApp = ( ): UnmountCallback => { const { getUrlForApp } = application; render( - + diff --git a/x-pack/plugins/index_lifecycle_management/public/shared_imports.ts b/x-pack/plugins/index_lifecycle_management/public/shared_imports.ts index 7e9aa7a0d422b..e191c4bd799a1 100644 --- a/x-pack/plugins/index_lifecycle_management/public/shared_imports.ts +++ b/x-pack/plugins/index_lifecycle_management/public/shared_imports.ts @@ -43,4 +43,6 @@ export { attemptToURIDecode } from '../../../../src/plugins/es_ui_shared/public' export { KibanaContextProvider } from '../../../../src/plugins/kibana_react/public'; +export { APP_WRAPPER_CLASS } from '../../../../src/core/public'; + export const useKibana = () => _useKibana();