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 && (
|
{isArchiveModalOpen && (
|
||||||
<ConfirmModal
|
<ConfirmModal
|
||||||
isOpen={isArchiveModalOpen}
|
isOpen={isArchiveModalOpen}
|
||||||
type={isArchiveAction ? "success" : "undo"}
|
type={isArchiveAction ? "archive" : "Un-archive"}
|
||||||
header={isArchiveAction ? "Archive Job" : "Restore Job"}
|
header={isArchiveAction ? "Archive Job" : "Restore Job"}
|
||||||
message={
|
message={
|
||||||
isArchiveAction
|
isArchiveAction
|
||||||
|
|||||||
@ -72,11 +72,11 @@ const Jobs = () => {
|
|||||||
>
|
>
|
||||||
{showArchive ? (
|
{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>
|
</button>
|
||||||
|
|||||||
@ -19,7 +19,9 @@ const ConfirmModal = ({
|
|||||||
case "success":
|
case "success":
|
||||||
return <i className="bx bx-archive-in text-warning" style={{ fontSize: "60px" }}></i>;
|
return <i className="bx bx-archive-in text-warning" style={{ fontSize: "60px" }}></i>;
|
||||||
case "archive":
|
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":
|
case "undo":
|
||||||
return <i className="bx bx-undo text-info" style={{ fontSize: "50px" }}></i>;
|
return <i className="bx bx-undo text-info" style={{ fontSize: "50px" }}></i>;
|
||||||
default:
|
default:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user