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.
fix/verification-admin-route-recovery
Teknium 2026-04-13 04:44:52 -07:00 committed by Teknium
parent 70f490a12a
commit 3365abdddf
1 changed files with 1 additions and 3 deletions

View File

@ -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);