From 912c0691f611ad9a7ff8c6cb7ccba8ee0d205d0e Mon Sep 17 00:00:00 2001 From: Frank Netscher Date: Tue, 9 Dec 2025 14:21:02 -0600 Subject: [PATCH] =?UTF-8?q?Won't=20render=20the=20description=20or=20keywo?= =?UTF-8?q?rd=20fields=20if=20they=E2=80=99re=20empty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DataFilesProjectFileListing.jsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/client/src/components/DataFiles/DataFilesProjectFileListing/DataFilesProjectFileListing.jsx b/client/src/components/DataFiles/DataFilesProjectFileListing/DataFilesProjectFileListing.jsx index c7c6a83ef..42d2f6c39 100644 --- a/client/src/components/DataFiles/DataFilesProjectFileListing/DataFilesProjectFileListing.jsx +++ b/client/src/components/DataFiles/DataFilesProjectFileListing/DataFilesProjectFileListing.jsx @@ -113,15 +113,21 @@ const DataFilesProjectFileListing = ({ system, path }) => { - (D) __both__ (A) or (B) __and__ (C) */}
- {!!enableWorkspaceKeywords && ( + {!!enableWorkspaceKeywords && !!metadata.keywords && ( <> Keywords {metadata.keywords && {metadata.keywords}}
)} - Description - {metadata.description && {metadata.description}} + {!!metadata.description && ( + <> + Description + {metadata.description && ( + {metadata.description} + )} + + )}