fix date displayed

This commit is contained in:
2022-01-31 07:17:55 +00:00
parent e1283fc600
commit 36ce3ece8d
+3 -5
View File
@@ -158,11 +158,9 @@ const DocumentDetails = (props) => {
{_.has(historyObj, [
"pinswg_publisheddate@OData.Community.Display.V1.FormattedValue",
])
? formatDates(
historyObj[
"pinswg_publisheddate@OData.Community.Display.V1.FormattedValue"
]
)
? historyObj[
"pinswg_publisheddate@OData.Community.Display.V1.FormattedValue"
]
: ""}
</dd>
{/* <dd className="govuk-summary-list__value govuk-!-font-size-16">