lpa portal view
This commit is contained in:
+23
-1
@@ -32,6 +32,13 @@ const MyPortal = (props) => {
|
||||
signOut({ callbackUrl: "/logout" });
|
||||
};
|
||||
|
||||
const isLPA =
|
||||
props.accountDetails.accountDetails[
|
||||
"pinswg_typeofinvolvement@OData.Community.Display.V1.FormattedValue"
|
||||
] == "LPA"
|
||||
? true
|
||||
: false;
|
||||
|
||||
return (
|
||||
<>
|
||||
<main className="" id="main-content" role="main">
|
||||
@@ -97,6 +104,20 @@ const MyPortal = (props) => {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{isLPA == true ? (
|
||||
<div>
|
||||
<h2 className="heading-small card-heading">
|
||||
{
|
||||
props.accountDetails.accountDetails[
|
||||
"pinswg_typeofinvolvement@OData.Community.Display.V1.FormattedValue"
|
||||
]
|
||||
}{" "}
|
||||
LPA Portal
|
||||
</h2>
|
||||
</div>
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
<div className="govuk-grid-row">
|
||||
<div className="govuk-grid-column-full">
|
||||
<div className="flex-container grid-row govuk-body ">
|
||||
@@ -138,7 +159,8 @@ const MyPortal = (props) => {
|
||||
myRepresentations={props.myRepresentations}
|
||||
/>
|
||||
)}
|
||||
<Dns />
|
||||
{isLPA ? "" : <Dns />}
|
||||
|
||||
{/* <YourAccount /> */}
|
||||
{showFileUpload == "true" && <UploadFile />}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user