Change label from "Pending" to "Pending Actions"
This commit is contained in:
parent
2b18f80b56
commit
79c5a79803
@ -105,7 +105,6 @@ const AttendancePage = () => {
|
||||
}
|
||||
}, [selectedProject, loginUser?.projects]);
|
||||
|
||||
|
||||
// Filter attendance data based on the toggle
|
||||
// const filteredAttendance = showOnlyCheckout
|
||||
// ? attendances?.filter(
|
||||
@ -116,7 +115,6 @@ const AttendancePage = () => {
|
||||
? attendances?.filter((att) => att?.checkOutTime === null)
|
||||
: attendances;
|
||||
|
||||
|
||||
return (
|
||||
<>
|
||||
{isCreateModalOpen && modelConfig && (
|
||||
@ -205,8 +203,9 @@ const AttendancePage = () => {
|
||||
<li className={`nav-item ${!DoRegularized && "d-none"}`}>
|
||||
<button
|
||||
type="button"
|
||||
className={`nav-link ${activeTab === "regularization" ? "active" : ""
|
||||
}`}
|
||||
className={`nav-link ${
|
||||
activeTab === "regularization" ? "active" : ""
|
||||
}`}
|
||||
onClick={() => setActiveTab("regularization")}
|
||||
data-bs-toggle="tab"
|
||||
data-bs-target="#navs-top-messages"
|
||||
@ -215,7 +214,11 @@ const AttendancePage = () => {
|
||||
</button>
|
||||
</li>
|
||||
|
||||
<li className={`nav-item ms-auto ${activeTab === "regularization" ? "d-none" : ""}`}>
|
||||
<li
|
||||
className={`nav-item ms-auto ${
|
||||
activeTab === "regularization" ? "d-none" : ""
|
||||
}`}
|
||||
>
|
||||
<label className="switch switch-primary">
|
||||
<input
|
||||
type="checkbox"
|
||||
@ -227,9 +230,7 @@ const AttendancePage = () => {
|
||||
<span className="switch-on"></span>
|
||||
<span className="switch-off"></span>
|
||||
</span>
|
||||
<span className="switch-label m-2">
|
||||
Pending
|
||||
</span>
|
||||
<span className="switch-label m-2">Pending Actions</span>
|
||||
</label>
|
||||
</li>
|
||||
</ul>
|
||||
@ -252,7 +253,6 @@ const AttendancePage = () => {
|
||||
</>
|
||||
)}
|
||||
|
||||
|
||||
{activeTab === "logs" && (
|
||||
<div className="tab-pane fade show active py-0">
|
||||
<AttendanceLog
|
||||
|
Loading…
x
Reference in New Issue
Block a user