Fixing broken reporting URL (#39822) (#40047)

This commit is contained in:
Joel Griffith 2019-07-01 12:16:22 -07:00 committed by GitHub
parent b430c52006
commit 9a80712287
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,8 +65,9 @@ uiModules.get('kibana')
// the job completes, that way we don't give the user a toast to download their report if they can't.
// NOTE: this should be looking at configuration rather than the existence of a navLink
if (core.chrome.navLinks.has('kibana:management')) {
const managementUrl = core.chrome.navLinks.get('kibana:management').url;
const reportingSectionUrl = `${managementUrl}/kibana/reporting`;
const { baseUrl } = core.chrome.navLinks.get('kibana:management');
const reportingSectionUrl = `${baseUrl}/kibana/reporting`;
seeReportLink = (
<p>
<FormattedMessage