Skip to content

Commit b9ee169

Browse files
cliveverghesecopybara-github
authored andcommitted
Add custom call link to op details.
PiperOrigin-RevId: 831471141
1 parent d1b6b70 commit b9ee169

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

frontend/app/services/data_service_v2/data_service_v2.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,11 @@ export class DataServiceV2 implements DataServiceV2Interface {
252252

253253
getCustomCallTextLink(
254254
sessionId: string, moduleName: string, opName: string, programId = '') {
255+
if (moduleName && opName) {
256+
return `${window.parent.location.origin}/${
257+
DATA_API}?tag=graph_viewer&module_name=${moduleName}&node_name=${
258+
opName}&run=${sessionId}&type=custom_call#profile`;
259+
}
255260
return '';
256261
}
257262

0 commit comments

Comments
 (0)