From 38a9821bb268dbbdcedc3dde3a1029a3de9ea9d9 Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 10 Jan 2025 12:28:35 +0530 Subject: [PATCH] feat: use row.robotMetaId --- src/components/run/ColapsibleRow.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/run/ColapsibleRow.tsx b/src/components/run/ColapsibleRow.tsx index 30561e2c..c31c6f25 100644 --- a/src/components/run/ColapsibleRow.tsx +++ b/src/components/run/ColapsibleRow.tsx @@ -50,7 +50,7 @@ export const CollapsibleRow = ({ row, handleDelete, isOpen, currentLog, abortRun ? 'API' : 'Unknown'; - const { robotMetaId, runId } = useParams(); + const { runId } = useParams(); const logEndRef = useRef(null); @@ -69,7 +69,7 @@ export const CollapsibleRow = ({ row, handleDelete, isOpen, currentLog, abortRun setOpen(newOpen); if (newOpen) { // Navigate to default tab (data) when expanding - navigate(`/runs/${robotMetaId}/run/${row.runId}`); + navigate(`/runs/${row.robotMetaId}/run/${row.runId}`); } scrollToLogBottom(); };