Skip to content

Commit

Permalink
Fixed links missing a hash (#69861)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
igoristic and elasticmachine authored Jun 25, 2020
1 parent b48c8bf commit 1ae5d32
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
);
}

Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/monitoring/public/directives/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`
);
};
}
Expand Down

0 comments on commit 1ae5d32

Please sign in to comment.