mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[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
This commit is contained in:
parent
0f3af54f6e
commit
767983a622
3 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -29,6 +29,7 @@ exports[`NoDataPage render 1`] = `
|
|||
Object {
|
||||
"link": <EuiLink
|
||||
href="test"
|
||||
target="_blank"
|
||||
>
|
||||
<FormattedMessage
|
||||
defaultMessage="learn more"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue