Compare commits

..

No commits in common. "f97c75dde7ed642802c4b1f8073d89e9d9480a0c" and "29c5d38befc6e93749cfafb0b1a376f1f1c9e105" have entirely different histories.

View File

@ -85,7 +85,6 @@ const EmpBanner = ({ profile, loggedInUser }) => {
</li>
</ul>
<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">
<button
className="btn btn-sm btn-primary btn-block"
@ -94,10 +93,8 @@ const EmpBanner = ({ profile, loggedInUser }) => {
Edit Profile
</button>
</li>
)}
<li className="list-inline-item">
{profile?.id === loggedInUser?.employeeInfo?.id && (
{profile?.id == loggedInUser?.employeeInfo?.id && (
<button
className="btn btn-sm btn-outline-primary btn-block"
onClick={() => openChangePassword()}