- {candidatesListArr.length !== allCandidates.length && filteredListArr.length === 0 ? (
+ {(candidatesListArr.length !== allCandidates.length && filteredListArr.length > 0) || filteredListArr===null ? (
) : null}
diff --git a/src/redux/outstaffingSlice.js b/src/redux/outstaffingSlice.js
index a2e893f9..44f9fdaf 100644
--- a/src/redux/outstaffingSlice.js
+++ b/src/redux/outstaffingSlice.js
@@ -3,7 +3,7 @@ import { createSlice } from '@reduxjs/toolkit';
const initialState = {
tags: [],
profiles: [],
- filteredCandidates: [],
+ filteredCandidates:null,
selectedItems: [],
currentCandidate: {},
auth: false,