From 767983a622f8ed0ec8e16d16943c52ea5d5d548d Mon Sep 17 00:00:00 2001 From: Maja Grubic Date: Wed, 18 May 2022 08:23:05 +0200 Subject: [PATCH] [SharedUX] NoDataPage: open docs link in a new tab (#132324) * [SharedUX] NoDataPage: open docs link in a new tab * Fix failing snapshot * Fix docs link --- .../src/empty_state/kibana_no_data_page.stories.tsx | 2 +- .../no_data_page/__snapshots__/no_data_page.test.tsx.snap | 1 + .../src/page_template/no_data_page/no_data_page.tsx | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/kbn-shared-ux-components/src/empty_state/kibana_no_data_page.stories.tsx b/packages/kbn-shared-ux-components/src/empty_state/kibana_no_data_page.stories.tsx index 6d0c240dd4c05..552ffa555377d 100644 --- a/packages/kbn-shared-ux-components/src/empty_state/kibana_no_data_page.stories.tsx +++ b/packages/kbn-shared-ux-components/src/empty_state/kibana_no_data_page.stories.tsx @@ -32,7 +32,7 @@ const noDataConfig = { title: 'Add Integrations', }, }, - docsLink: 'http://www.docs.com', + docsLink: 'http://docs.elastic.dev', }; type Params = Pick & DataServiceFactoryConfig; diff --git a/packages/kbn-shared-ux-components/src/page_template/no_data_page/__snapshots__/no_data_page.test.tsx.snap b/packages/kbn-shared-ux-components/src/page_template/no_data_page/__snapshots__/no_data_page.test.tsx.snap index 0046e9c3fd3c1..45b168c34034a 100644 --- a/packages/kbn-shared-ux-components/src/page_template/no_data_page/__snapshots__/no_data_page.test.tsx.snap +++ b/packages/kbn-shared-ux-components/src/page_template/no_data_page/__snapshots__/no_data_page.test.tsx.snap @@ -29,6 +29,7 @@ exports[`NoDataPage render 1`] = ` Object { "link": = ({ values={{ solution, link: ( - +