Skip to content

Commit

Permalink
Merge pull request #419 from OpenCatalogi/feature/OP-166/Organization…
Browse files Browse the repository at this point in the history
…-detail-page

Added shortDiscription to components detail page
  • Loading branch information
remko48 authored Dec 15, 2023
2 parents 2a948f3 + 9b0289c commit 1bfc6b9
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,11 @@ export const ComponentsDetailTemplate: React.FC<ComponentsDetailTemplateProps> =
</Heading>

<ExpandableLeadParagraph
description={_getComponent.data.embedded?.description?.longDescription ?? t("No description available")}
description={
_getComponent.data.embedded?.description?.longDescription ??
_getComponent.data.embedded?.description?.shortDescription ??
t("No description available")
}
/>

<div className={styles.layerAndCategoryContainer}>
Expand Down

0 comments on commit 1bfc6b9

Please sign in to comment.