Adding a error message on InActive selection on Teams tab on Projects.
This commit is contained in:
parent
18d848b697
commit
cf8a67bc2c
@ -333,8 +333,12 @@ const Teams = ({ project }) => {
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
)}
|
)}
|
||||||
{(!employeeLodaing && employees.length == 0 )&& (
|
{!employeeLodaing && filteredEmployees.length === 0 && (
|
||||||
<span>No employees assigned to the project</span>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user