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 (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<EuiLink href={getSafeForExternalLink(`/logstash/node/${node.logstash.uuid}`)}>
|
<EuiLink href={getSafeForExternalLink(`#/logstash/node/${node.logstash.uuid}`)}>
|
||||||
{name}
|
{name}
|
||||||
</EuiLink>
|
</EuiLink>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -46,7 +46,7 @@ export class PipelineListing extends Component {
|
||||||
field: 'id',
|
field: 'id',
|
||||||
sortable: true,
|
sortable: true,
|
||||||
render: (id) => (
|
render: (id) => (
|
||||||
<EuiLink data-test-subj="id" href={getSafeForExternalLink(`/logstash/pipelines/${id}`)}>
|
<EuiLink data-test-subj="id" href={getSafeForExternalLink(`#/logstash/pipelines/${id}`)}>
|
||||||
{id}
|
{id}
|
||||||
</EuiLink>
|
</EuiLink>
|
||||||
),
|
),
|
||||||
|
|
|
@ -72,7 +72,9 @@ const getColumns = () => [
|
||||||
render: (name, node) => {
|
render: (name, node) => {
|
||||||
if (node) {
|
if (node) {
|
||||||
return (
|
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.pipelineHashShort = shortenPipelineHash(this.pipelineHash);
|
||||||
this.onChangePipelineHash = () => {
|
this.onChangePipelineHash = () => {
|
||||||
window.location.hash = getSafeForExternalLink(
|
window.location.hash = getSafeForExternalLink(
|
||||||
`/logstash/pipelines/${this.pipelineId}/${this.pipelineHash}`
|
`#/logstash/pipelines/${this.pipelineId}/${this.pipelineHash}`
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue