Adding a error message on InActive selection on Teams tab on Projects.

This commit is contained in:
Umesh Desai 2025-06-03 11:41:24 +05:30 committed by Vikas Nale
parent 18d848b697
commit cf8a67bc2c

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>