docs(nxdev): show package description as fallback (#12081)
This commit is contained in:
parent
e34218b108
commit
32f6d3a056
@ -51,7 +51,7 @@ export function PackageSchemaList({
|
|||||||
},
|
},
|
||||||
get markdown(): ReactNode {
|
get markdown(): ReactNode {
|
||||||
return renderMarkdown({
|
return renderMarkdown({
|
||||||
content: this.pkg.readme.content,
|
content: this.pkg.readme.content || this.pkg.description,
|
||||||
filePath: this.pkg.readme.filePath,
|
filePath: this.pkg.readme.filePath,
|
||||||
data: {},
|
data: {},
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user