reps trigger for logged out & upload storage acc
This commit is contained in:
@@ -29,6 +29,8 @@ import {
|
||||
setWatchedCases,
|
||||
setWatchedCasesDetails,
|
||||
} from "../../store/watchedCases/action";
|
||||
import { setShowReps } from "../../store/currentView/action";
|
||||
|
||||
import TimeOut from "../../components/timeout";
|
||||
import { getSession, useSession } from "next-auth/react";
|
||||
import {
|
||||
@@ -87,6 +89,11 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
await getPortalLogin(thisSession.user.email),
|
||||
]);
|
||||
|
||||
const showReps = process.env.SHOWREPRESENTATIONS || false;
|
||||
|
||||
console.log("env var ", process.env.SHOWREPRESENTATIONS);
|
||||
store.dispatch(setShowReps(showReps));
|
||||
|
||||
searchResultsObj =
|
||||
searchResultsObj.status == 502
|
||||
? {
|
||||
|
||||
Reference in New Issue
Block a user