Fixed links missing a hash (#69861)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
b48c8bf355
commit
1ae5d32652
|
@ -62,7 +62,7 @@ export class Listing extends PureComponent {
|
|||
return (
|
||||
<div>
|
||||
<div>
|
||||
<EuiLink href={getSafeForExternalLink(`/logstash/node/${node.logstash.uuid}`)}>
|
||||
<EuiLink href={getSafeForExternalLink(`#/logstash/node/${node.logstash.uuid}`)}>
|
||||
{name}
|
||||
</EuiLink>
|
||||
</div>
|
||||
|
|
|
@ -46,7 +46,7 @@ export class PipelineListing extends Component {
|
|||
field: 'id',
|
||||
sortable: true,
|
||||
render: (id) => (
|
||||
<EuiLink data-test-subj="id" href={getSafeForExternalLink(`/logstash/pipelines/${id}`)}>
|
||||
<EuiLink data-test-subj="id" href={getSafeForExternalLink(`#/logstash/pipelines/${id}`)}>
|
||||
{id}
|
||||
</EuiLink>
|
||||
),
|
||||
|
|
|
@ -72,7 +72,9 @@ const getColumns = () => [
|
|||
render: (name, node) => {
|
||||
if (node) {
|
||||
return (
|
||||
<EuiLink href={getSafeForExternalLink(`/elasticsearch/nodes/${node.id}`)}>{name}</EuiLink>
|
||||
<EuiLink href={getSafeForExternalLink(`#/elasticsearch/nodes/${node.id}`)}>
|
||||
{name}
|
||||
</EuiLink>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -133,7 +133,7 @@ export class MonitoringMainController {
|
|||
this.pipelineHashShort = shortenPipelineHash(this.pipelineHash);
|
||||
this.onChangePipelineHash = () => {
|
||||
window.location.hash = getSafeForExternalLink(
|
||||
`/logstash/pipelines/${this.pipelineId}/${this.pipelineHash}`
|
||||
`#/logstash/pipelines/${this.pipelineId}/${this.pipelineHash}`
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue