diff --git a/src/pages/employee/EmployeeList.jsx b/src/pages/employee/EmployeeList.jsx
index 935add9b..002c205d 100644
--- a/src/pages/employee/EmployeeList.jsx
+++ b/src/pages/employee/EmployeeList.jsx
@@ -511,8 +511,9 @@ const EmployeeList = () => {
Status
{
)}
{/* Conditional messages for no data or no search results */}
{!loading &&
- displayData?.length === 0 &&
- searchText &&
- !showAllEmployees ? (
+ displayData?.length === 0 &&
+ searchText &&
+ !showAllEmployees ? (
|
@@ -544,8 +545,8 @@ const EmployeeList = () => {
|
) : null}
{!loading &&
- displayData?.length === 0 &&
- (!searchText || showAllEmployees) ? (
+ displayData?.length === 0 &&
+ (!searchText || showAllEmployees) ? (
{
|
@@ -703,8 +697,9 @@ const EmployeeList = () => {