Skip to content

Commit

Permalink
[SIEM] Fixes broken maps link to Kibana index management (#73757) (#7…
Browse files Browse the repository at this point in the history
…3847)

## Summary

Embarrassing simple fix 

If you don't have an index setup like below and click configure index patterns it takes you to `/app/kibana` when it should just be `/app` and there shouldn't be anymore hashes of `#`.

<img width="1487" alt="Screen Shot 2020-07-29 at 5 09 10 PM" src="https://user-images.githubusercontent.com/1151048/88862759-4b90e580-d1be-11ea-834c-aedc73cc330a.png">
  • Loading branch information
FrankHassanabad authored Jul 30, 2020
1 parent 36ad1cb commit 57b58d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.

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 @@ -13,7 +13,7 @@ import * as i18n from './translations';

export const IndexPatternsMissingPromptComponent = () => {
const { docLinks } = useKibana().services;
const kibanaBasePath = `${useBasePath()}/app/kibana`;
const kibanaBasePath = `${useBasePath()}/app`;

return (
<EuiEmptyPrompt
Expand All @@ -29,7 +29,7 @@ export const IndexPatternsMissingPromptComponent = () => {
values={{
defaultIndex: (
<a
href={`${kibanaBasePath}#/management/kibana/settings`}
href={`${kibanaBasePath}/management/kibana/settings`}
rel="noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -61,7 +61,7 @@ export const IndexPatternsMissingPromptComponent = () => {
}
actions={
<EuiButton
href={`${kibanaBasePath}#/management/kibana/indexPatterns`}
href={`${kibanaBasePath}/management/kibana/indexPatterns`}
color="primary"
target="_blank"
fill
Expand Down

0 comments on commit 57b58d2

Please sign in to comment.