mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
fix: use correct 'completed' state in status badge map, clean up blank lines
The cron backend uses 'completed' (not 'exhausted') when repeat count is reached. Also removes extra blank lines from cherry-pick.
This commit is contained in:
parent
70f490a12a
commit
3365abdddf
1 changed files with 1 additions and 3 deletions
|
|
@ -22,11 +22,9 @@ const STATUS_VARIANT: Record<string, "success" | "warning" | "destructive"> = {
|
|||
scheduled: "success",
|
||||
paused: "warning",
|
||||
error: "destructive",
|
||||
exhausted: "destructive",
|
||||
completed: "destructive",
|
||||
};
|
||||
|
||||
|
||||
|
||||
export default function CronPage() {
|
||||
const [jobs, setJobs] = useState<CronJob[]>([]);
|
||||
const [loading, setLoading] = useState(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue