build fix
This commit is contained in:
parent
3e6659ad2a
commit
b5eebfcf49
@ -20,6 +20,7 @@ import {
|
|||||||
MapPin,
|
MapPin,
|
||||||
MoreHorizontal,
|
MoreHorizontal,
|
||||||
Play,
|
Play,
|
||||||
|
RefreshCcw,
|
||||||
Save,
|
Save,
|
||||||
Search,
|
Search,
|
||||||
Settings,
|
Settings,
|
||||||
@ -828,7 +829,12 @@ export const OrchestratorPage: React.FC = () => {
|
|||||||
</section>
|
</section>
|
||||||
<section className="grid gap-4 lg:grid-cols-[minmax(0,1fr)_minmax(0,420px)]">
|
<section className="grid gap-4 lg:grid-cols-[minmax(0,1fr)_minmax(0,420px)]">
|
||||||
<div className="rounded-xl border border-border/60 bg-card/40">
|
<div className="rounded-xl border border-border/60 bg-card/40">
|
||||||
{activeJobs.length === 0 ? (
|
{isLoading && jobs.length === 0 ? (
|
||||||
|
<div className="flex flex-col items-center justify-center gap-3 px-6 py-12 text-center">
|
||||||
|
<Loader2 className="h-8 w-8 animate-spin text-muted-foreground" />
|
||||||
|
<div className="text-sm text-muted-foreground">Loading jobs...</div>
|
||||||
|
</div>
|
||||||
|
) : activeJobs.length === 0 ? (
|
||||||
<div className="flex flex-col items-center justify-center gap-2 px-6 py-12 text-center">
|
<div className="flex flex-col items-center justify-center gap-2 px-6 py-12 text-center">
|
||||||
<div className="text-base font-semibold">No jobs found</div>
|
<div className="text-base font-semibold">No jobs found</div>
|
||||||
<p className="max-w-md text-sm text-muted-foreground">
|
<p className="max-w-md text-sm text-muted-foreground">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user