From 3f62e2016be1e0a442def6b4d82ec68854c0c691 Mon Sep 17 00:00:00 2001 From: Jamie Rasmussen <112953339+jamie-rasmussen@users.noreply.github.com> Date: Tue, 23 Jan 2024 16:12:28 -0800 Subject: [PATCH] chore: make the Op column in the calls table a link (#1131) --- .../PagePanelComponents/Home/Browse2/RunsTable.tsx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/weave-js/src/components/PagePanelComponents/Home/Browse2/RunsTable.tsx b/weave-js/src/components/PagePanelComponents/Home/Browse2/RunsTable.tsx index a6cd0cd7a6f..bf210d94941 100644 --- a/weave-js/src/components/PagePanelComponents/Home/Browse2/RunsTable.tsx +++ b/weave-js/src/components/PagePanelComponents/Home/Browse2/RunsTable.tsx @@ -14,7 +14,7 @@ import React, {FC, useEffect, useMemo, useRef, useState} from 'react'; import {useParams} from 'react-router-dom'; import {Timestamp} from '../../../Timestamp'; -import {CallLink, opVersionText} from '../Browse3/pages/common/Links'; +import {CallLink, OpVersionLink} from '../Browse3/pages/common/Links'; import {StatusChip} from '../Browse3/pages/common/StatusChip'; import {useURLSearchParamsDict} from '../Browse3/pages/util'; import {useMaybeWeaveflowORMContext} from '../Browse3/pages/wfInterface/context'; @@ -217,9 +217,14 @@ export const RunsTable: FC<{ if (opVersion == null) { return rowParams.row.ormCall?.spanName(); } - return opVersionText( - rowParams.row.ormCall?.spanName(), - opVersion.versionIndex() + return ( + ); }, },