)}
diff --git a/apps/backoffice/app/components/JobRow.tsx b/apps/backoffice/app/components/JobRow.tsx
index f4fea71..d4e82a2 100644
--- a/apps/backoffice/app/components/JobRow.tsx
+++ b/apps/backoffice/app/components/JobRow.tsx
@@ -3,6 +3,7 @@
import { useState } from "react";
import Link from "next/link";
import { JobProgress } from "./JobProgress";
+import { StatusBadge, Button } from "./ui";
interface JobRowProps {
job: {
@@ -25,52 +26,71 @@ export function JobRow({ job, libraryName, highlighted, onCancel }: JobRowProps)
const handleComplete = () => {
setShowProgress(false);
- // Trigger a page refresh to update the job status
window.location.reload();
};
return (
<>
-
{showProgress && (job.status === "running" || job.status === "pending") && (
-
+ |
([]);
const [isOpen, setIsOpen] = useState(false);
- const [isLoading, setIsLoading] = useState(false);
const dropdownRef = useRef(null);
useEffect(() => {
@@ -66,7 +65,11 @@ export function JobsIndicator() {
if (totalCount === 0) {
return (
-
+
|