mirror of https://github.com/prometheus/prometheus
Open target endpoint links in separate window/tab
Signed-off-by: Julius Volz <julius.volz@gmail.com>pull/14872/head
parent
3905902758
commit
b2a8657d58
|
@ -31,7 +31,7 @@ const EndpointLink: FC<EndpointLinkProps> = ({ endpoint, globalUrl }) => {
|
||||||
: `${protocol}//${host}${pathname}`;
|
: `${protocol}//${host}${pathname}`;
|
||||||
return (
|
return (
|
||||||
<Stack gap={0}>
|
<Stack gap={0}>
|
||||||
<Anchor size="sm" href={globalUrl}>
|
<Anchor size="sm" href={globalUrl} target="_blank">
|
||||||
{displayLink}
|
{displayLink}
|
||||||
</Anchor>
|
</Anchor>
|
||||||
{params.length > 0 && (
|
{params.length > 0 && (
|
||||||
|
|
Loading…
Reference in New Issue