Compare commits
No commits in common. "f97c75dde7ed642802c4b1f8073d89e9d9480a0c" and "29c5d38befc6e93749cfafb0b1a376f1f1c9e105" have entirely different histories.
f97c75dde7
...
29c5d38bef
@ -85,7 +85,6 @@ const EmpBanner = ({ profile, loggedInUser }) => {
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul className="list-inline mb-0 d-flex align-items-center flex-wrap justify-content-sm-start justify-content-center mt-4">
|
<ul className="list-inline mb-0 d-flex align-items-center flex-wrap justify-content-sm-start justify-content-center mt-4">
|
||||||
{profile?.isActive && ( // ✅ show only if active
|
|
||||||
<li className="list-inline-item">
|
<li className="list-inline-item">
|
||||||
<button
|
<button
|
||||||
className="btn btn-sm btn-primary btn-block"
|
className="btn btn-sm btn-primary btn-block"
|
||||||
@ -94,10 +93,8 @@ const EmpBanner = ({ profile, loggedInUser }) => {
|
|||||||
Edit Profile
|
Edit Profile
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
)}
|
|
||||||
|
|
||||||
<li className="list-inline-item">
|
<li className="list-inline-item">
|
||||||
{profile?.id === loggedInUser?.employeeInfo?.id && (
|
{profile?.id == loggedInUser?.employeeInfo?.id && (
|
||||||
<button
|
<button
|
||||||
className="btn btn-sm btn-outline-primary btn-block"
|
className="btn btn-sm btn-outline-primary btn-block"
|
||||||
onClick={() => openChangePassword()}
|
onClick={() => openChangePassword()}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user