Added job login and log off functionality. BOD-183

This commit is contained in:
Patrick Fic
2020-07-03 16:35:18 -07:00
parent 1ff3cd0f55
commit 88c29490ca
24 changed files with 740 additions and 125 deletions

View File

@@ -11,8 +11,8 @@ import techReducer from "./tech/tech.reducer";
const persistConfig = {
key: "root",
storage,
whitelist: ["messaging"],
blacklist: ["user", "email", "modals", "tech"],
whitelist: ["messaging", "tech"],
blacklist: ["user", "email", "modals"],
};
const rootReducer = combineReducers({

View File

@@ -1,11 +1,11 @@
import TechActionTypes from "./tech.types";
const INITIAL_STATE = {
//technician: null,
technician: {
employee_number: "101",
first_name: "***HARDCODED",
last_name: "IN REDUCER***",
},
technician: null,
// technician: {
// employee_number: "101",
// first_name: "***HARDCODED",
// last_name: "IN REDUCER***",
// },
loginLoading: false,
loginError: null,
};