Compare commits
No commits in common. "147342bfc185556613e89d13345ca1e4c513b6f6" and "14ca1eb54c62abbcfd2425a26e315901098e0969" have entirely different histories.
147342bfc1
...
14ca1eb54c
@ -372,33 +372,49 @@ const EmployeeList = () =>
|
|||||||
Active
|
Active
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
{ManageEmployee && (
|
<td className={`d-flex justify-content-end justify-content-sm-center ${!ManageEmployee && 'd-none'} `}>
|
||||||
<td className="text-end">
|
<div className="d-flex align-items-center ">
|
||||||
<div className="dropdown">
|
<a
|
||||||
<button className="btn btn-icon dropdown-toggle hide-arrow" data-bs-toggle="dropdown">
|
className={`btn btn-icon dropdown-toggle hide-arrow`}
|
||||||
<i className="bx bx-dots-vertical-rounded bx-md"></i>
|
data-bs-toggle="dropdown"
|
||||||
</button>
|
>
|
||||||
<div className="dropdown-menu dropdown-menu-end">
|
<i className="bx bx-dots-vertical-rounded bx-md"></i>
|
||||||
<button onClick={() => navigate(`/employee/${item.id}`)} className="dropdown-item">
|
</a>
|
||||||
View
|
|
||||||
</button>
|
<div className="dropdown-menu dropdown-menu-end m-0">
|
||||||
<Link to={`/employee/manage/${item.id}`} className="dropdown-item">
|
{" "}
|
||||||
Edit
|
<a
|
||||||
</Link>
|
|
||||||
<button className="dropdown-item">Suspend</button>
|
onClick={()=> navigate(`/employee/${item.id}`)}
|
||||||
<button
|
className="dropdown-item"
|
||||||
className="dropdown-item"
|
>
|
||||||
type="button"
|
View
|
||||||
data-bs-toggle="modal"
|
</a>
|
||||||
data-bs-target="#managerole-modal"
|
|
||||||
onClick={() => handleConfigData(item.id)}
|
<Link
|
||||||
>
|
className={`dropdown-item `}
|
||||||
Manage Role
|
to={`/employee/manage/${item.id}`}
|
||||||
</button>
|
>
|
||||||
</div>
|
Edit
|
||||||
|
</Link>
|
||||||
|
|
||||||
|
<a className="dropdown-item">
|
||||||
|
Suspend
|
||||||
|
</a>
|
||||||
|
<a
|
||||||
|
className="dropdown-item"
|
||||||
|
type="button"
|
||||||
|
data-bs-toggle="modal"
|
||||||
|
data-bs-target="#managerole-modal"
|
||||||
|
onClick={() => {
|
||||||
|
handleConfigData(item.id);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
Manage Role
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</div>
|
||||||
)}
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
) )}
|
) )}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user