fomrs split out

This commit is contained in:
2021-10-05 09:47:57 +01:00
parent 2ace28aa40
commit 8714d71189
48 changed files with 42577 additions and 146 deletions
+12 -8
View File
@@ -79,12 +79,16 @@ const TopThree = (props) => {
<div className="cardModuleItem" key={index}>
<div className="cardModuleDetails">
<div className="cardModuleReference">
<b>Case reference:</b>{" "}
<b>{t("myportal:case-reference")}:</b>{" "}
<Link
href={
topThreeType == "awaitingSubmission"
? "/representation"
: "/case"
? router.locale == "cy"
? "/fymhorth/cynrychiolaeth"
: "/myportal/representation"
: router.locale == "cy"
? "/fymhorth/achos"
: "/myportal//case"
}
>
<a
@@ -103,18 +107,18 @@ const TopThree = (props) => {
</div>
{topThreeType != "awaitingSubmission" ? (
<div className="carModuleAddress">
<b>Addressa:</b>{" "}
<b>{t("myportal:case-address")}:</b>{" "}
{_.isEmpty(showDetails)
? "not entered"
? t("myportal:case-address-not-entered")
: _.isEmpty(showDetails[index])
? "not entered"
? t("myportal:case-address-not-entered")
: _.isEmpty(showDetails[index].value[0])
? "not entered"
? t("myportal:case-address-not-entered")
: _.isEmpty(
showDetails[index].value[0]
.pinswg_siteaddressline1
)
? "not entered"
? t("myportal:case-address-not-entered")
: showDetails[index].value[0]
.pinswg_siteaddressline1}
</div>