Skip to content

Commit

Permalink
[SharedUX] NoDataPage: open docs link in a new tab (#132324)
Browse files Browse the repository at this point in the history
* [SharedUX] NoDataPage: open docs link in a new tab

* Fix failing snapshot

* Fix docs link
  • Loading branch information
Maja Grubic authored May 18, 2022
1 parent 0f3af54 commit 767983a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const noDataConfig = {
title: 'Add Integrations',
},
},
docsLink: 'http://www.docs.com',
docsLink: 'http://docs.elastic.dev',
};

type Params = Pick<NoDataPageProps, 'solution' | 'logo'> & DataServiceFactoryConfig;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const NoDataPage: FunctionComponent<NoDataPageProps> = ({
values={{
solution,
link: (
<EuiLink href={docsLink}>
<EuiLink href={docsLink} target="_blank">
<FormattedMessage
id="sharedUXComponents.noDataPage.intro.link"
defaultMessage="learn more"
Expand Down

0 comments on commit 767983a

Please sign in to comment.