Added job login and log off functionality. BOD-183
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user