fix UI issues in JobsView
This commit is contained in:
@@ -1,10 +1,15 @@
|
|||||||
import { JobList } from "@/components/JobList"
|
import { JobList } from '@/components/JobList'
|
||||||
import mockJobs from "@/mocks/jobs.json"
|
import { Marker, MarkerContent } from '@/components/ui/marker'
|
||||||
|
import mockJobs from '@/mocks/jobs'
|
||||||
|
|
||||||
export function JobsView() {
|
export function JobsView() {
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-1 flex-col gap-1 mt-4 mb-4">
|
<div className="mt-4 mb-4 flex flex-1 flex-col gap-1">
|
||||||
<JobList jobs={mockJobs} />
|
<JobList jobs={mockJobs} emptyLabel="No running jobs." />
|
||||||
|
<Marker variant="separator" className="my-4">
|
||||||
|
<MarkerContent>Queue</MarkerContent>
|
||||||
|
</Marker>
|
||||||
|
<JobList jobs={[]} emptyLabel="No queued jobs." />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user