File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
packages/root-cms/ui/pages Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -102,9 +102,11 @@ export function CollectionPage(props: CollectionPageProps) {
102
102
< div className = "CollectionPage__side__collection__name" >
103
103
{ collection . name || collection . id }
104
104
</ div >
105
- < div className = "CollectionPage__side__collection__desc" >
106
- { collection . description || '' }
107
- </ div >
105
+ { collection . description && (
106
+ < div className = "CollectionPage__side__collection__desc" >
107
+ { collection . description }
108
+ </ div >
109
+ ) }
108
110
</ a >
109
111
) ) }
110
112
{ matchedCollections . length === 0 && (
Original file line number Diff line number Diff line change @@ -69,9 +69,11 @@ ProjectPage.CollectionList = () => {
69
69
< div className = "ProjectPage__collectionList__collection__name" >
70
70
{ collection . name || collection . id }
71
71
</ div >
72
- < div className = "ProjectPage__collectionList__collection__desc" >
73
- { collection . description || '' }
74
- </ div >
72
+ { collection . description && (
73
+ < div className = "ProjectPage__collectionList__collection__desc" >
74
+ { collection . description }
75
+ </ div >
76
+ ) }
75
77
</ a >
76
78
) ) }
77
79
{ collections . length === 0 && (
You can’t perform that action at this time.
0 commit comments