From cf8a67bc2cc37be70c6326dc58527b6bdda8d92b Mon Sep 17 00:00:00 2001 From: Umesh Desai Date: Tue, 3 Jun 2025 11:41:24 +0530 Subject: [PATCH] Adding a error message on InActive selection on Teams tab on Projects. --- src/components/Project/Teams.jsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/Project/Teams.jsx b/src/components/Project/Teams.jsx index ef43a1b8..f9794eb0 100644 --- a/src/components/Project/Teams.jsx +++ b/src/components/Project/Teams.jsx @@ -333,8 +333,12 @@ const Teams = ({ project }) => { )} - {(!employeeLodaing && employees.length == 0 )&& ( - No employees assigned to the project + {!employeeLodaing && filteredEmployees.length === 0 && ( +
+ {activeEmployee + ? "No active employees assigned to the project" + : "No inactive employees assigned to the project"} +
)}