Saving progress spinner and language updates

This commit is contained in:
2022-10-04 10:24:49 +01:00
parent 683e3b5814
commit 7cd7ab78aa
21 changed files with 326 additions and 75 deletions
+17 -2
View File
@@ -344,7 +344,9 @@ const Breadcrumbs = (props) => {
<Link
href={
router.locale != "en"
? router.locale + "/myportal"
? "/" +
router.locale +
"/myportal"
: "/myportal"
}
>
@@ -354,7 +356,20 @@ const Breadcrumbs = (props) => {
</Link>
</li>
<li className="govuk-breadcrumbs__list-item">
{currentView.viewName}
{currentView.viewKey ==
"awaitingSubmissionDetails" &&
t(
"myportal:awatitingsubmission-card-title"
)}
{currentView.viewKey == "watchedCases" &&
t("myportal:watchedcases-card-title")}
{currentView.viewKey == "myCases" &&
t("myportal:mycases-card-title")}
{currentView.viewKey ==
"myRepresentations" &&
t(
"myportal:myrepresentations-card-title"
)}
</li>
</>
) : (