Skip to content

Commit b570940

Browse files
committed
[DOP-31920] Open all links in new tab
1 parent 76c4287 commit b570940

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/components/lineage/nodes/dataset_container_node/DatasetNode.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const DatasetNode = ({
5656
title={props.data.title}
5757
subheader={props.data.subheader}
5858
action={
59-
<Button size="small" href={path}>
59+
<Button size="small" href={path} target="_blank">
6060
<OpenInNewIcon />
6161
</Button>
6262
}

src/components/lineage/nodes/job_node/JobNode.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const JobNode = (props: NodeProps<JobNode>): ReactElement => {
3737
title={props.data.title}
3838
subheader={props.data.subheader}
3939
action={
40-
<Button size="small" href={path}>
40+
<Button size="small" href={path} target="_blank">
4141
<OpenInNewIcon />
4242
</Button>
4343
}

src/components/lineage/nodes/operation_node/OperationNode.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const OperationNode = ({
109109
</Stack>
110110
}
111111
action={
112-
<Button size="small" href={path}>
112+
<Button size="small" href={path} target="_blank">
113113
<OpenInNewIcon />
114114
</Button>
115115
}

src/components/lineage/nodes/run_node/RunNode.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const RunNode = ({
111111
</Stack>
112112
}
113113
action={
114-
<Button size="small" href={path}>
114+
<Button size="small" href={path} target="_blank">
115115
<OpenInNewIcon />
116116
</Button>
117117
}

src/components/location/LocationRaNameWithLinkField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const LocationRaNameWithLinkField = (
2222
});
2323

2424
return (
25-
<Link href={path}>
25+
<Link href={path} target="_blank">
2626
<Typography variant="body2" component="span">
2727
{record.data.location.name}
2828
</Typography>

0 commit comments

Comments
 (0)