change label

This commit is contained in:
Vikas Nale 2025-08-16 12:57:47 +05:30
parent 4d66ebeb50
commit ee2c973d01

View File

@ -51,7 +51,8 @@ const EmployeeList = () => {
const { employees, loading, setLoading, error, recallEmployeeData } = const { employees, loading, setLoading, error, recallEmployeeData } =
useEmployeesAllOrByProjectId( useEmployeesAllOrByProjectId(
showAllEmployees ,selectedProjectId, showAllEmployees,
selectedProjectId,
showInactive showInactive
); );
@ -153,8 +154,6 @@ const EmployeeList = () => {
} }
}; };
const handleAllEmployeesToggle = (e) => { const handleAllEmployeesToggle = (e) => {
const isChecked = e.target.checked; const isChecked = e.target.checked;
setShowInactive(false); setShowInactive(false);
@ -334,7 +333,7 @@ const EmployeeList = () => {
role="switch" role="switch"
id="inactiveEmployeesCheckbox" id="inactiveEmployeesCheckbox"
checked={showInactive} checked={showInactive}
onChange={(e)=> setShowInactive(e.target.checked)} onChange={(e) => setShowInactive(e.target.checked)}
/> />
<label <label
className="form-check-label ms-0" className="form-check-label ms-0"
@ -480,7 +479,7 @@ const EmployeeList = () => {
aria-label="User: activate to sort column ascending" aria-label="User: activate to sort column ascending"
aria-sort="descending" aria-sort="descending"
> >
<div className="text-start ms-5">Official Designation</div> <div className="text-start ms-5">Designation</div>
</th> </th>
<th <th
@ -639,8 +638,7 @@ const EmployeeList = () => {
} }
className="dropdown-item py-1" className="dropdown-item py-1"
> >
<i className="bx bx-detail bx-sm"></i>{" "} <i className="bx bx-detail bx-sm"></i> View
View
</button> </button>
<button <button
className="dropdown-item py-1" className="dropdown-item py-1"
@ -737,8 +735,8 @@ const EmployeeList = () => {
</div> </div>
</div> </div>
</div> </div>
// </div>
) : ( ) : (
// </div>
<div className="card"> <div className="card">
<div className="text-center"> <div className="text-center">
<i className="fa-solid fa-triangle-exclamation fs-5"></i> <i className="fa-solid fa-triangle-exclamation fs-5"></i>