Adding a error message on InActive selection on Teams tab on Projects.
This commit is contained in:
parent
8c3b10f1cb
commit
99b64a9bf0
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user