From 40d857c7aa905a4928701cc7dc5904f646e20649 Mon Sep 17 00:00:00 2001 From: john681611 Date: Tue, 4 Jul 2023 18:38:34 +0100 Subject: [PATCH] Added: risk comments --- .../frontend/src/components/DocumentNode/DocumentNode.tsx | 2 +- .../CommonRequirementEnumeration.tsx | 2 +- application/frontend/src/pages/Standard/StandardSection.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/application/frontend/src/components/DocumentNode/DocumentNode.tsx b/application/frontend/src/components/DocumentNode/DocumentNode.tsx index 0a9bd253d..f950ce1dc 100644 --- a/application/frontend/src/components/DocumentNode/DocumentNode.tsx +++ b/application/frontend/src/components/DocumentNode/DocumentNode.tsx @@ -143,7 +143,7 @@ export const DocumentNode: FunctionComponent = ({
{idx > 0 &&
}
- Which {getDocumentTypeText(type, links[0].document.doctype)}: + Which {getDocumentTypeText(type, links[0].document.doctype)}:{/* Risk here of mixed doctype in here causing odd output */}
diff --git a/application/frontend/src/pages/CommonRequirementEnumeration/CommonRequirementEnumeration.tsx b/application/frontend/src/pages/CommonRequirementEnumeration/CommonRequirementEnumeration.tsx index f3e939687..0c8bc5325 100644 --- a/application/frontend/src/pages/CommonRequirementEnumeration/CommonRequirementEnumeration.tsx +++ b/application/frontend/src/pages/CommonRequirementEnumeration/CommonRequirementEnumeration.tsx @@ -81,7 +81,7 @@ export const CommonRequirementEnumeration = () => { Object.entries(linksByType).map(([type, links]) => (
- Which {getDocumentTypeText(type, links[0].document.doctype)}: + Which {getDocumentTypeText(type, links[0].document.doctype)}:{/* Risk here of mixed doctype in here causing odd output */}
{links.sort((a, b) => getDocumentDisplayName(a.document).localeCompare(getDocumentDisplayName(b.document))).map((link, i) => (
diff --git a/application/frontend/src/pages/Standard/StandardSection.tsx b/application/frontend/src/pages/Standard/StandardSection.tsx index 782023217..91d1fc431 100644 --- a/application/frontend/src/pages/Standard/StandardSection.tsx +++ b/application/frontend/src/pages/Standard/StandardSection.tsx @@ -76,7 +76,7 @@ export const StandardSection = () => { Object.entries(linksByType).map(([type, links]) => (
- Which {getDocumentTypeText(type, links[0].document.doctype)}: + Which {getDocumentTypeText(type, links[0].document.doctype)}:{/* Risk here of mixed doctype in here causing odd output */}
{links.sort((a, b) => getDocumentDisplayName(a.document).localeCompare(getDocumentDisplayName(b.document))).map((link, i) => (