This commit is contained in:
Untone 2024-03-06 15:55:33 +03:00
parent 626624ddb4
commit 56a83dc8ba

View File

@ -121,7 +121,9 @@ export const TopicBadge = (props: Props) => {
{t('FollowersWithCount', { count: props.topic?.stat?.followers })} {t('FollowersWithCount', { count: props.topic?.stat?.followers })}
</span> </span>
<Show when={props.topic?.stat?.comments}> <Show when={props.topic?.stat?.comments}>
<span class={styles.statsItem}>{t('CommentsWithCount', {count: props.topic?.stat?.comments ?? 0})}</span> <span class={styles.statsItem}>
{t('CommentsWithCount', { count: props.topic?.stat?.comments ?? 0 })}
</span>
</Show> </Show>
</div> </div>
</div> </div>