toler
This commit is contained in:
parent
7af3f1d405
commit
fa594b6009
|
@ -120,7 +120,7 @@ export const AuthorBadge = (props: Props) => {
|
||||||
</Match>
|
</Match>
|
||||||
<Match when={props.author?.stat && props.author?.stat.shouts > 0}>
|
<Match when={props.author?.stat && props.author?.stat.shouts > 0}>
|
||||||
<div class={styles.bio}>
|
<div class={styles.bio}>
|
||||||
{t('PublicationsWithCount', { count: props.author.stat?.shouts ?? 0 })}
|
{t('PublicationsWithCount', { count: props.author?.stat.shouts ?? 0 })}
|
||||||
</div>
|
</div>
|
||||||
</Match>
|
</Match>
|
||||||
</Switch>
|
</Switch>
|
||||||
|
|
|
@ -75,7 +75,7 @@ export const TopicBadge = (props: Props) => {
|
||||||
when={props.topic.body}
|
when={props.topic.body}
|
||||||
fallback={
|
fallback={
|
||||||
<div class={styles.description}>
|
<div class={styles.description}>
|
||||||
{t('PublicationsWithCount', { count: props.topic.stat.shouts ?? 0 })}
|
{t('PublicationsWithCount', { count: props.topic?.stat?.shouts ?? 0 })}
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user