diff --git a/src/components/JobList.tsx b/src/components/JobList.tsx index 8993573..8ce25c0 100644 --- a/src/components/JobList.tsx +++ b/src/components/JobList.tsx @@ -3,14 +3,15 @@ import { cn } from "@/lib/utils" export interface JobListProps { jobs: JobListItemProps[] + emptyLabel?: string className?: string } -export function JobList({ jobs, className }: JobListProps) { +export function JobList({ jobs, emptyLabel = "No running jobs.", className }: JobListProps) { if (jobs.length === 0) { return (
No running jobs.
+{emptyLabel ?? 'No jobs.'}