Skip to content

Commit 9b35e95

Browse files
committed
fix: open cluster page in same tab
1 parent 7d4199c commit 9b35e95

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/containers/Clusters/columns.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,7 @@ function ClusterName({row}: ClusterNameProps) {
147147

148148
return (
149149
<div className={b('cluster-name')}>
150-
<ExternalLink href={clusterPath} target={row.clusterDomain ? '_blank' : undefined}>
151-
{row.title || row.name}
152-
</ExternalLink>
150+
<ExternalLink href={clusterPath}>{row.title || row.name}</ExternalLink>
153151
</div>
154152
);
155153
}
@@ -353,11 +351,7 @@ function Versions({row}: VersionsProps) {
353351
}
354352
const clusterPath = calculateClusterPath(row, clusterTabsIds.versions);
355353
return (
356-
<ExternalLink
357-
className={b('cluster-versions')}
358-
href={clusterPath}
359-
target={row.clusterDomain ? '_blank' : undefined}
360-
>
354+
<ExternalLink className={b('cluster-versions')} href={clusterPath}>
361355
<VersionsBar preparedVersions={preparedVersions} />
362356
</ExternalLink>
363357
);

0 commit comments

Comments
 (0)