From 36ce3ece8d93bed759605a257b1e716dd71bfbe1 Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Mon, 31 Jan 2022 07:17:55 +0000 Subject: [PATCH] fix date displayed --- components/case/documents.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/components/case/documents.js b/components/case/documents.js index 77dd7a3d..e9c698ec 100644 --- a/components/case/documents.js +++ b/components/case/documents.js @@ -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" + ] : ""} {/*