pramod_Bug#160 :Unnecessary Multiple profile API Requests call on Page Load #166

Merged
vikas.nale merged 4 commits from pramod_Bug#160 into Issue_May_5W 2025-05-31 10:17:49 +00:00
Showing only changes of commit 7bc0f76da4 - Show all commits

View File

@ -144,17 +144,24 @@ const MapUsers = ({
<tbody> <tbody>
{employeeLoading && allocationEmployeesData.length === 0 && ( {employeeLoading && allocationEmployeesData.length === 0 && (
<p>Loading...</p> <tr>
<td>Loading..</td>
</tr>
)} )}
{!employeeLoading && {!employeeLoading &&
allocationEmployeesData.length === 0 && allocationEmployeesData.length === 0 &&
filteredData.length === 0 && ( filteredData.length === 0 && (
<p>All employee assigned to Project.</p>
<tr>
<td>All employee assigned to Project.</td>
</tr>
)} )}
{!employeeLoading && allocationEmployeesData.length > 0 && filteredData.length === 0 && ( {!employeeLoading && allocationEmployeesData.length > 0 && filteredData.length === 0 && (
<p>No matching employees found.</p> <tr>
<td>No matching employees found.</td>
</tr>
)} )}
{(filteredData.length > 0 || {(filteredData.length > 0 ||