Merge pull request 'Adding a error message on InActive selection on Teams tab on Projects.' (#180) from Kartik_Bug#441 into Issue_Jun_1W

Reviewed-on: #180
This commit is contained in:
Vikas Nale 2025-06-03 11:54:33 +00:00
commit 412125e422

View File

@ -333,8 +333,12 @@ const Teams = ({ project }) => {
</tbody>
</table>
)}
{(!employeeLodaing && employees.length == 0 )&& (
<span>No employees assigned to the project</span>
{!employeeLodaing && filteredEmployees.length === 0 && (
<div className="text-center text-muted py-3">
{activeEmployee
? "No active employees assigned to the project"
: "No inactive employees assigned to the project"}
</div>
)}
</div>
</div>