- {candidatesListArr.length !== allCandidates.length && filteredListArr.length === 0 ? (
+ {(candidatesListArr.length !== allCandidates.length && filteredListArr.length > 0) || filteredListArr===null ? (
) : null}
diff --git a/src/components/LogoutButton/logoutButton.css b/src/components/LogoutButton/logoutButton.css
index 61213fb9..4f872af4 100644
--- a/src/components/LogoutButton/logoutButton.css
+++ b/src/components/LogoutButton/logoutButton.css
@@ -1,7 +1,7 @@
.logout-button {
position: fixed;
- top: 2rem;
- right: 3.5rem;
+ top: 70px;
+ right: 2.5rem;
z-index: 100;
}
@@ -10,21 +10,30 @@
justify-content: center;
align-items: center;
margin: 0;
- padding: 1rem 2rem;
- border-radius: 20px;
+ width: 131px;
+ height: 40px;
+ border-radius: 10px;
+ font-family: 'Muller';
+ font-size: 1.6em;
+ letter-spacing: 0.8px;
background-color: #6aaf5c;
color: #ffffff;
- border: 2px solid #6aaf5c;
+ border: 3px solid #6aaf5c;
font-family: 'Muller';
- font-size: 2em;
- letter-spacing: normal;
text-align: center;
}
.logout-button:hover button {
background-color: #ffffff;
color: #6aaf5c;
- border: 2px solid #6aaf5c;
+ border: 3px solid #6aaf5c;
box-shadow: 3px 2px 5px rgba(82, 151, 34, 0.21);
transition: .3s;
-}
\ No newline at end of file
+}
+
+@media (max-width: 1198px) {
+ .logout-button {
+ top: 16px;
+ }
+ }
+
\ No newline at end of file
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,