From 17ef307ff271b9c1fe84c1a30671fc89da465bd4 Mon Sep 17 00:00:00 2001 From: Kartik Sharma Date: Thu, 11 Dec 2025 10:39:32 +0530 Subject: [PATCH] Adding MyJobs at the place of all jobs in service Jobs. --- src/components/Dashboard/ServiceJobs.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Dashboard/ServiceJobs.jsx b/src/components/Dashboard/ServiceJobs.jsx index e073a424..d69a2faa 100644 --- a/src/components/Dashboard/ServiceJobs.jsx +++ b/src/components/Dashboard/ServiceJobs.jsx @@ -8,11 +8,10 @@ import { useServiceProject } from "../../hooks/useServiceProject"; const ServiceJobs = () => { const { projectId } = useParams(); const { data, isLoading, isError } = useJobsProgression(projectId); - const jobs = data || {}; const { data: projectData, isLoading: projectLoading } = useServiceProject(projectId); const tabMapping = [ - { id: "tab-new", label: "My Jobs", key: "allJobs" }, + { id: "tab-new", label: "My Jobs", key: "myJobs" }, { id: "tab-preparing", label: "Assigned", key: "assignedJobs" }, { id: "tab-shipping", label: "In Progress", key: "inProgressJobs" }, ];