Skip to content

Commit

Permalink
fix: forked from link (#9798)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8173cab)
  • Loading branch information
keita-determined authored and determined-ci committed Aug 6, 2024
1 parent 7928af1 commit f02b6b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webui/react/src/pages/FlatRuns/columns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,10 @@ export const getColumnDefs = ({
: undefined,
navigateOn: 'click',
onClick: (e: CellClickedEventArgs) => {
if (record.experiment?.forkedFrom) {
const forkedFrom = record.experiment?.forkedFrom;
if (forkedFrom !== undefined) {
handlePath(e as unknown as AnyMouseEvent, {
path: String(record.experiment.forkedFrom),
path: paths.experimentDetails(forkedFrom),
});
}
},
Expand Down

0 comments on commit f02b6b5

Please sign in to comment.