Merge branch 'Project_Branch_Management' of https://git.marcoaiot.com/admin/marco.pms.web into Project_Branch_Management

This commit is contained in:
pramod.mahajan 2025-11-21 13:13:50 +05:30
commit 4506f740eb
3 changed files with 6 additions and 4 deletions

View File

@ -130,7 +130,7 @@ const JobList = ({ isArchive }) => {
{isArchiveModalOpen && (
<ConfirmModal
isOpen={isArchiveModalOpen}
type={isArchiveAction ? "success" : "undo"}
type={isArchiveAction ? "archive" : "Un-archive"}
header={isArchiveAction ? "Archive Job" : "Restore Job"}
message={
isArchiveAction

View File

@ -72,11 +72,11 @@ const Jobs = () => {
>
{showArchive ? (
<>
<i className="bx bx-list-ul me-1 mt-1"></i> Show Active Jobs
<i className="bx bx-list-ul me-1 mt-1"></i> Show Active
</>
) : (
<>
<i className="bx bx-archive me-1 mt-1"></i> Show Archived Jobs
<i className="bx bx-archive me-1 mt-1"></i> Show Archived
</>
)}
</button>

View File

@ -19,7 +19,9 @@ const ConfirmModal = ({
case "success":
return <i className="bx bx-archive-in text-warning" style={{ fontSize: "60px" }}></i>;
case "archive":
return <i className="bx bx-error-circle text-warning" style={{ fontSize: "60px" }}></i>;
return <i className="bx bx-archive-in text-warning" style={{ fontSize: "60px" }}></i>;
case "Un-archive":
return <i className="bx bx-archive-out text-warning" style={{ fontSize: "60px" }}></i>;
case "undo":
return <i className="bx bx-undo text-info" style={{ fontSize: "50px" }}></i>;
default: