diff --git a/src/components/run/RunsTable.tsx b/src/components/run/RunsTable.tsx index 886f1058..b652aef0 100644 --- a/src/components/run/RunsTable.tsx +++ b/src/components/run/RunsTable.tsx @@ -85,7 +85,9 @@ export const RunsTable: React.FC = ({ const handleAccordionChange = (robotMetaId: string, isExpanded: boolean) => { if (isExpanded) { - navigate(`/runs/${robotMetaId}`); // Update the route when an accordion is expanded + navigate(`/runs/${robotMetaId}`); + } else { + navigate(`/runs`); } };