lpa dashboard tweaks
This commit is contained in:
@@ -104,7 +104,7 @@ const MyPortal = (props) => {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{isLPA == true ? (
|
||||
{isLPA && (
|
||||
<div>
|
||||
<h2 className="heading-small card-heading">
|
||||
{
|
||||
@@ -115,13 +115,11 @@ const MyPortal = (props) => {
|
||||
LPA Portal
|
||||
</h2>
|
||||
</div>
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
<div className="govuk-grid-row">
|
||||
<div className="govuk-grid-column-full">
|
||||
<div className="flex-container grid-row govuk-body ">
|
||||
{isLPA ? "" : <MakeNewAppeal />}
|
||||
{!isLPA && <MakeNewAppeal />}
|
||||
<SearchCases />
|
||||
{/* {props.awaitingSubmission.awaitingSubmission[
|
||||
"@odata.count"
|
||||
@@ -147,12 +145,16 @@ const MyPortal = (props) => {
|
||||
/>
|
||||
)}
|
||||
{props.myCases.myCases["@odata.count"] > 0 && (
|
||||
<MyCases myCases={props.myCases} />
|
||||
<MyCases
|
||||
myCases={props.myCases}
|
||||
isLPA={isLPA}
|
||||
/>
|
||||
)}
|
||||
{props.watchedCases.watchedCases["@odata.count"] >
|
||||
0 && (
|
||||
<WatchedCases
|
||||
watchedCases={props.watchedCases}
|
||||
isLPA={isLPA}
|
||||
/>
|
||||
)}
|
||||
{props.myRepresentations.myRepresentations[
|
||||
@@ -160,12 +162,12 @@ const MyPortal = (props) => {
|
||||
] > 0 && (
|
||||
<MyRepresentations
|
||||
myRepresentations={props.myRepresentations}
|
||||
isLPA={isLPA}
|
||||
/>
|
||||
)}
|
||||
{isLPA ? "" : <Dns />}
|
||||
{!isLPA && <Dns />}
|
||||
|
||||
{/* <YourAccount /> */}
|
||||
{showFileUpload == "true" && <UploadFile />}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user