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