diff --git a/awx/ui/src/screens/TopologyView/utils/helpers.js b/awx/ui/src/screens/TopologyView/utils/helpers.js index 866b0fc029..cb185cbe61 100644 --- a/awx/ui/src/screens/TopologyView/utils/helpers.js +++ b/awx/ui/src/screens/TopologyView/utils/helpers.js @@ -1,5 +1,4 @@ import * as d3 from 'd3'; -import { InstancesAPI } from 'api'; import { truncateString } from '../../../util/strings'; import { @@ -34,13 +33,8 @@ export function renderNodeIcon(selectedNode) { } export async function redirectToDetailsPage(selectedNode, history) { - // TODO: redirect to top-level instances details page const { id: nodeId } = selectedNode; - const { - data: { results }, - } = await InstancesAPI.readInstanceGroup(nodeId); - const { id: instanceGroupId } = results[0]; - const constructedURL = `/instance_groups/${instanceGroupId}/instances/${nodeId}/details`; + const constructedURL = `/instances/${nodeId}/details`; history.push(constructedURL); }