diff --git a/components/breadcrumbs.js b/components/breadcrumbs.js index e6209cb6..e04a37bc 100644 --- a/components/breadcrumbs.js +++ b/components/breadcrumbs.js @@ -475,23 +475,26 @@ const Breadcrumbs = (props) => {
  • - {currentView.currentView.viewKey == + {(currentView.currentView.viewKey || + router.query.key) == "awaitingSubmissionDetails" && t( "myportal:awatitingsubmission-card-title" )} - {currentView.currentView.viewKey == - "watchedCases" && + {(currentView.currentView.viewKey || + router.query.key) == "watchedCases" && t("myportal:watchedcases-card-title")} - {currentView.currentView.viewKey == - "myCases" && + {(currentView.currentView.viewKey || + router.query.key) == "myCases" && t("myportal:mycases-card-title")} - {currentView.currentView.viewKey == + {(currentView.currentView.viewKey || + router.query.key) == "myRepresentations" && t( "myportal:myrepresentations-card-title" )} - {currentView.currentView.viewKey == + {(currentView.currentView.viewKey || + router.query.key) == "mySubmittedReps" && "Submitted representations"}