From eaba0ef02509702ea75d5278406e3ed8631fd714 Mon Sep 17 00:00:00 2001 From: Aleh Zasypkin Date: Thu, 11 Jan 2024 12:46:41 +0200 Subject: [PATCH] Few more tweaks. --- packages/kbn-mock-idp-plugin/public/login_page.tsx | 2 +- packages/kbn-mock-idp-plugin/public/plugin.tsx | 2 +- packages/kbn-mock-idp-plugin/public/role_switcher.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/kbn-mock-idp-plugin/public/login_page.tsx b/packages/kbn-mock-idp-plugin/public/login_page.tsx index 145685eb0449f..d5eead71dbfb8 100644 --- a/packages/kbn-mock-idp-plugin/public/login_page.tsx +++ b/packages/kbn-mock-idp-plugin/public/login_page.tsx @@ -24,7 +24,7 @@ import { MOCK_IDP_SECURITY_ROLE_NAMES, MOCK_IDP_OBSERVABILITY_ROLE_NAMES, MOCK_IDP_SEARCH_ROLE_NAMES, -} from '@kbn/mock-idp-utils'; +} from '@kbn/mock-idp-utils/src/constants'; import { useAuthenticator } from './role_switcher'; export interface LoginPageProps { diff --git a/packages/kbn-mock-idp-plugin/public/plugin.tsx b/packages/kbn-mock-idp-plugin/public/plugin.tsx index c125aca6e31f5..3a7ad8b12951f 100644 --- a/packages/kbn-mock-idp-plugin/public/plugin.tsx +++ b/packages/kbn-mock-idp-plugin/public/plugin.tsx @@ -13,7 +13,7 @@ import ReactDOM from 'react-dom'; import { KibanaThemeProvider } from '@kbn/react-kibana-context-theme'; import { KibanaContextProvider } from '@kbn/kibana-react-plugin/public'; import { I18nProvider } from '@kbn/i18n-react'; -import { MOCK_IDP_LOGIN_PATH } from '@kbn/mock-idp-utils'; +import { MOCK_IDP_LOGIN_PATH } from '@kbn/mock-idp-utils/src/constants'; import type { CloudStart, CloudSetup } from '@kbn/cloud-plugin/public'; import { RoleSwitcher } from './role_switcher'; diff --git a/packages/kbn-mock-idp-plugin/public/role_switcher.tsx b/packages/kbn-mock-idp-plugin/public/role_switcher.tsx index a066f2009f532..cf536d54b885c 100644 --- a/packages/kbn-mock-idp-plugin/public/role_switcher.tsx +++ b/packages/kbn-mock-idp-plugin/public/role_switcher.tsx @@ -18,7 +18,7 @@ import { MOCK_IDP_SECURITY_ROLE_NAMES, MOCK_IDP_OBSERVABILITY_ROLE_NAMES, MOCK_IDP_SEARCH_ROLE_NAMES, -} from '@kbn/mock-idp-utils'; +} from '@kbn/mock-idp-utils/src/constants'; import { createReloadPageToast } from './reload_page_toast'; import type { CreateSAMLResponseParams } from '../server';