Skip to content

Commit 9914da2

Browse files
authored
Send full sha for copy sha command (#4615)
1 parent 33c3ec1 commit 9914da2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

webview/src/experiments/components/table/body/RowContextMenu.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ const getContextMenuOptions = (
364364

365365
export const RowContextMenu: React.FC<RowProp> = ({
366366
row: {
367-
original: { branch, executorStatus, starred, id, executor, label },
367+
original: { branch, executorStatus, starred, id, executor, sha },
368368
depth
369369
}
370370
}) => {
@@ -382,7 +382,7 @@ export const RowContextMenu: React.FC<RowProp> = ({
382382
const contextMenuOptions = useMemo(() => {
383383
return getContextMenuOptions(
384384
id,
385-
label,
385+
sha as string,
386386
branch,
387387
isWorkspace,
388388
projectHasCheckpoints,
@@ -401,7 +401,7 @@ export const RowContextMenu: React.FC<RowProp> = ({
401401
isWorkspace,
402402
depth,
403403
id,
404-
label,
404+
sha,
405405
projectHasCheckpoints,
406406
selectedRows,
407407
hasRunningWorkspaceExperiment

0 commit comments

Comments
 (0)