diff --git a/skyvern-frontend/src/router.tsx b/skyvern-frontend/src/router.tsx index aad16219..74ec6eef 100644 --- a/skyvern-frontend/src/router.tsx +++ b/skyvern-frontend/src/router.tsx @@ -117,6 +117,10 @@ const router = createBrowserRouter([ index: true, element: , }, + { + path: "blocks", + element: , + }, { path: "overview", element: , diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunOverview.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunOverview.tsx index af415dce..988254f6 100644 --- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunOverview.tsx +++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunOverview.tsx @@ -67,8 +67,10 @@ function WorkflowRunOverview() { timelineItem.block.actions && timelineItem.block.actions.length > 0 ) { - return timelineItem.block - .actions[0] as WorkflowRunOverviewActiveElement; + const last = timelineItem.block.actions.length - 1; + return timelineItem.block.actions[ + last + ] as WorkflowRunOverviewActiveElement; } return timelineItem.block; }