updated translations for dcuments lsit on case details
This commit is contained in:
@@ -95,7 +95,7 @@ const DocumentDetails = (props) => {
|
||||
detailsObj.pinswg_isharedocumentreference
|
||||
}
|
||||
>
|
||||
<a target="_blank">
|
||||
<a>
|
||||
<span className="results-visually-hidden">
|
||||
{t(
|
||||
"case:documents-name-label"
|
||||
@@ -212,6 +212,11 @@ const DocumentDetails = (props) => {
|
||||
};
|
||||
|
||||
const searchDocumentResultsObj = docDetailsObj();
|
||||
|
||||
const getFileFromCRM = (event, docRef) => {
|
||||
console.log(e, docRef);
|
||||
return alert(docRef);
|
||||
};
|
||||
}, [incidentid, setDocumentHistory, setDocumentDetails]);
|
||||
|
||||
function formatDates(dateObj) {
|
||||
@@ -227,11 +232,13 @@ const DocumentDetails = (props) => {
|
||||
<div>
|
||||
<div className="govuk-grid-row">
|
||||
<div className="govuk-grid-column-full">
|
||||
<h2>Documents</h2>
|
||||
<h2>{t("case:documents-heading-label")}</h2>
|
||||
{_.isEmpty(documentHistoryObj) ? (
|
||||
<div className="govuk-grid-row">
|
||||
<div className="govuk-grid-column-two-thirds">
|
||||
<h3>There are no documents for this appeal</h3>
|
||||
<h3>
|
||||
{t("case:documents-non-available-label")}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
|
||||
@@ -607,7 +607,7 @@ const CaseSummary = (props) => {
|
||||
useEffect(() => {
|
||||
const linkCaseObj = async () => {
|
||||
let docObj = await getLinkedCases(incidentid).then((data) => {
|
||||
console.log(data);
|
||||
//console.log(data);
|
||||
setCurrentLinkedCases(data);
|
||||
return data;
|
||||
});
|
||||
@@ -636,7 +636,7 @@ const CaseSummary = (props) => {
|
||||
}
|
||||
|
||||
function linkedCasesList(linkedCasesReference) {
|
||||
console.log(linkedCasesReference);
|
||||
//console.log(linkedCasesReference);
|
||||
|
||||
linkedCasesReference = linkedCasesReference.value || [];
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ export default function Footer(props) {
|
||||
: setShowShareState(true);
|
||||
};
|
||||
|
||||
console.log(router.asPath);
|
||||
//console.log(router.asPath);
|
||||
const shareBodyStr = t("common:gov-wales-link") + router.asPath;
|
||||
const shareSubjectStr =
|
||||
t("common:social-shared-from") +
|
||||
|
||||
Reference in New Issue
Block a user