Correction in Weidget.

This commit is contained in:
Kartik Sharma 2025-12-06 15:16:08 +05:30
parent 8020258a71
commit 8e68b5d487

View File

@ -23,7 +23,7 @@ const ServiceJobs = () => {
<div className="card-header d-flex justify-content-between"> <div className="card-header d-flex justify-content-between">
<div className="card-title mb-0 text-start"> <div className="card-title mb-0 text-start">
<h5 className="mb-1 fw-bold">Service Jobs</h5> <h5 className="mb-1 fw-bold">Service Jobs</h5>
<p className="card-subtitle"> <p className="card-subtitle">
{projectLoading ? "Loading..." : projectData?.name || "All Projects"} {projectLoading ? "Loading..." : projectData?.name || "All Projects"}
</p> </p>
</div> </div>
@ -58,7 +58,19 @@ const ServiceJobs = () => {
{isError && ( {isError && (
<p className="text-danger text-center py-3">Failed to load jobs</p> <p
className="text-center"
style={{
height: "250px",
display: "flex",
justifyContent: "center",
alignItems: "center",
margin: 0,
}}
>
No data found
</p>
)} )}
{!isLoading && {!isLoading &&