Compare commits
No commits in common. "abcb9823c2e1082c3ca6275869f8561f2d4000fc" and "ec115ba9ce078dd62743d36c0100097d3cfd2922" have entirely different histories.
abcb9823c2
...
ec115ba9ce
|
|
@ -22,7 +22,7 @@ export function ModuleCatalogCardRenderer({
|
|||
}: CollectionItemRendererProps) {
|
||||
const attributes = item.attributes;
|
||||
const title = asString(attributes.name) || item.title;
|
||||
const label = asString(attributes.content_label) || item.summary || null;
|
||||
const label = asString(attributes.content_label) || item.summary || "Open content";
|
||||
|
||||
return (
|
||||
<Pressable
|
||||
|
|
@ -36,11 +36,9 @@ export function ModuleCatalogCardRenderer({
|
|||
|
||||
<View style={styles.textContainer}>
|
||||
<Text style={styles.title}>{title}</Text>
|
||||
{label ? (
|
||||
<Text style={styles.description} numberOfLines={1}>
|
||||
{label}
|
||||
</Text>
|
||||
) : null}
|
||||
<Text style={styles.description} numberOfLines={1}>
|
||||
{label}
|
||||
</Text>
|
||||
</View>
|
||||
|
||||
<ContentCountBadge
|
||||
|
|
|
|||
Loading…
Reference in New Issue