Merge branch 'Project_Branch_Management' of https://git.marcoaiot.com/admin/marco.pms.web into Project_Branch_Management
This commit is contained in:
commit
4506f740eb
@ -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
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user