diff --git a/src/containers/Clusters/utils.ts b/src/containers/Clusters/utils.ts index 7cd5ab95cb..0645ea096b 100644 --- a/src/containers/Clusters/utils.ts +++ b/src/containers/Clusters/utils.ts @@ -20,10 +20,10 @@ export function calculateClusterPath(row: PreparedCluster, activeTab?: ClusterTa return getClusterPath( { activeTab, - environment: settings?.auth_service, + environment: clusterDomain ? undefined : settings?.auth_service, }, { - backend, + backend: clusterDomain ? undefined : backend, clusterName: clusterDomain && clusterExternalName ? clusterExternalName : clusterName, }, {withBasename: true},