diff --git a/ui/src/pages/Routines.tsx b/ui/src/pages/Routines.tsx index e7625ca8..890641f6 100644 --- a/ui/src/pages/Routines.tsx +++ b/ui/src/pages/Routines.tsx @@ -1,6 +1,6 @@ import { useEffect, useMemo, useRef, useState } from "react"; import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query"; -import { Link, useNavigate } from "@/lib/router"; +import { useNavigate } from "@/lib/router"; import { ChevronDown, ChevronRight, MoreHorizontal, Play, Plus, Repeat } from "lucide-react"; import { routinesApi } from "../api/routines"; import { agentsApi } from "../api/agents"; @@ -535,12 +535,16 @@ export function Routines() { const isArchived = routine.status === "archived"; const isStatusPending = statusMutationRoutineId === routine.id; return ( - + navigate(`/routines/${routine.id}`)} + >
- + {routine.title} - + {(isArchived || routine.status === "paused") && (
{isArchived ? "archived" : "paused"} @@ -582,7 +586,7 @@ export function Routines() {
{routine.lastRun.status.replaceAll("_", " ")}
) : null} - + e.stopPropagation()}>
- + e.stopPropagation()}>