diff --git a/ui/src/pages/Routines.tsx b/ui/src/pages/Routines.tsx index 7f0f9a70..e7625ca8 100644 --- a/ui/src/pages/Routines.tsx +++ b/ui/src/pages/Routines.tsx @@ -508,35 +508,35 @@ export function Routines() { ) : null} - +
{(routines ?? []).length === 0 ? ( - +
- +
) : (
- - - - - - - - -
NameProjectAgentLast runEnabled + + + + + + + + + - + {(routines ?? []).map((routine) => { const enabled = routine.status === "active"; const isArchived = routine.status === "archived"; const isStatusPending = statusMutationRoutineId === routine.id; return ( - - + - - - - -
NameProjectAgentLast runEnabled
+
{routine.title} @@ -548,7 +548,7 @@ export function Routines() { )}
+ {routine.projectId ? (
)}
+ {routine.assigneeAgentId ? (() => { const agent = agentById.get(routine.assigneeAgentId); return agent ? ( @@ -576,13 +576,13 @@ export function Routines() { )} +
{formatLastRunTimestamp(routine.lastRun?.triggeredAt)}
{routine.lastRun ? (
{routine.lastRun.status.replaceAll("_", " ")}
) : null}
+
+
)} - + ); }