lpa portal view

This commit is contained in:
Rob Bond
2023-07-26 11:46:01 +01:00
parent 31375a5999
commit 3ff708737c
8 changed files with 74 additions and 19 deletions
+23 -1
View File
@@ -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>