reps defects
This commit is contained in:
+21
-8
@@ -14,6 +14,7 @@ import MyRepresentations from "./myportal/myrepresentations";
|
||||
import SearchCases from "./myportal/searchcases";
|
||||
import UploadFile from "./myportal/uploadFile";
|
||||
import WatchedCases from "./myportal/watchedcases";
|
||||
import _ from "lodash";
|
||||
|
||||
const MyPortal = (props) => {
|
||||
const { showFileUpload, showLoginCheck } = props;
|
||||
@@ -122,7 +123,12 @@ const MyPortal = (props) => {
|
||||
}
|
||||
/>
|
||||
)} */}
|
||||
|
||||
{!isLPA &&
|
||||
_.has(props.awaitingSubmission, [
|
||||
"awaitingSubmissionFromBlob",
|
||||
"@odata.count",
|
||||
]) &&
|
||||
props.awaitingSubmission
|
||||
.awaitingSubmissionFromBlob[
|
||||
"@odata.count"
|
||||
@@ -150,14 +156,21 @@ const MyPortal = (props) => {
|
||||
myReps={false}
|
||||
/>
|
||||
)}
|
||||
{props.myRepresentations.myRepresentations[
|
||||
"@odata.count"
|
||||
] > 0 && (
|
||||
<MyRepresentations
|
||||
myRepresentations={props.myRepresentations}
|
||||
isLPA={isLPA}
|
||||
/>
|
||||
)}
|
||||
{props.myRepresentations.hasOwnProperty(
|
||||
"myRepresentations"
|
||||
) &&
|
||||
typeof props.myRepresentations
|
||||
.myRepresentations != "undefined" &&
|
||||
props.myRepresentations.myRepresentations[
|
||||
"@odata.count"
|
||||
] > 0 && (
|
||||
<MyRepresentations
|
||||
myRepresentations={
|
||||
props.myRepresentations
|
||||
}
|
||||
isLPA={isLPA}
|
||||
/>
|
||||
)}
|
||||
|
||||
{props.myRepresentations.mySubmittedReps
|
||||
.mySubmittedReps.length > 0 && (
|
||||
|
||||
Reference in New Issue
Block a user