Skip to content

Commit

Permalink
HPCC-29983 Activities Routing for graphs not sending to correct href
Browse files Browse the repository at this point in the history
Routing correction to href graph path.

Signed-off-by: Kunal Aswani <[email protected]>
  • Loading branch information
kunalaswani committed Jul 27, 2023
1 parent afa7847 commit 935ff03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp/src/src-react/components/Activities.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const Activities: React.FunctionComponent<ActivitiesProps> = ({
formatter: React.useCallback(function (_gid, row) {
if (activity.isInstanceOfWorkunit(row)) {
if (row.GraphName) {
return `<a href='#/workunits/${row.Wuid}/metrics/${row.GraphName}/${row.GID}'>${row.GraphName}-${row.GID}</a>`;
return `<a href='#/workunits/${row.Wuid}/metrics/${row.GraphName}'>${row.GraphName}-${row.GID}</a>`;
}
}
return "";
Expand Down

0 comments on commit 935ff03

Please sign in to comment.