hide uneccessary msg or fixed loading condition for create new employee

This commit is contained in:
Pramod Mahajan 2025-04-26 18:15:49 +05:30
parent 162c91c1aa
commit c900dc80a9

View File

@ -257,7 +257,7 @@ const ManageEmployee = () => {
</span>
</div>
<div className="card-body">
{(!currentEmployee && empLoading) && (
{(!currentEmployee && empLoading && employeeId ) && (
<p>Loading Employee Data...</p>
)}