Skip to content

Commit

Permalink
Use doc link service for Maps help (#88631)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl authored Jan 19, 2021
1 parent 66c0cc2 commit 1db3235
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/public/doc_links/doc_links_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export class DocLinksService {
teamsAction: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/teams-action-type.html`,
},
maps: {
guide: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/kibana-maps.html`,
guide: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/maps.html`,
},
monitoring: {
alertsKibana: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/kibana-alerts.html`,
Expand Down
4 changes: 2 additions & 2 deletions x-pack/plugins/maps/public/render_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ function setAppChrome() {
});
}

const { ELASTIC_WEBSITE_URL, DOC_LINK_VERSION } = getDocLinks();
const mapUrl = getDocLinks().links.maps.guide;

getCoreChrome().setHelpExtension({
appName: 'Maps',
links: [
{
linkType: 'documentation',
href: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/maps.html`,
href: `${mapUrl}`,
},
{
linkType: 'github',
Expand Down

0 comments on commit 1db3235

Please sign in to comment.