fix(plugins/home/FeatureDocsCard): fall back to metadata.name if no title has been supplied
Signed-off-by: secustor <sebastian@poxhofer.at>
This commit is contained in:
@@ -116,7 +116,7 @@ export const Content = (props: FeaturedDocsCardProps): JSX.Element => {
|
||||
}/`
|
||||
}
|
||||
>
|
||||
{d.metadata.title}
|
||||
{d.metadata.title ?? d.metadata.name}
|
||||
</Link>
|
||||
{d.metadata.description && (
|
||||
<Typography className={styles.docDescription}>
|
||||
|
||||
Reference in New Issue
Block a user