fix(dashboard): make formatted group preview use total group count

This commit is contained in:
Jake Fulmine 2024-02-18 13:04:27 +01:00
parent 99f905de4c
commit a4fd48e64d

View file

@ -150,7 +150,7 @@
<CardBody>
{#if groupsWithMember && groupsWithMember.length > 0}
<p class="mb-0" style="text-align: left;">
{#if finalGroupsList.length <= 5}
{#if groupsWithMember.length <= 5}
<AwaitHtml htmlPromise={parseMarkdown(shortGroupList(groupsWithMember), { embed: true, parseTimestamps: true })} />
{:else}
<AwaitHtml htmlPromise={parseMarkdown(longGroupList(groupsWithMember), { embed: true, parseTimestamps: true })} />