show description from post when moderator pinned it
This commit is contained in:
parent
d0285b033e
commit
2960704d59
@ -433,11 +433,10 @@ $: {
|
|||||||
{posts?.title}
|
{posts?.title}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{#if !posts?.pinned}
|
|
||||||
<div class="break-normal ml-3 mt-5 pr-6 sm:pr-0">
|
<div class="break-normal ml-3 mt-5 pr-6 sm:pr-0">
|
||||||
{@html posts?.description?.length > 182 ? posts?.description.slice(0, 182) + "..." : posts?.description}
|
{@html posts?.description?.length > 182 ? posts?.description.slice(0, 182) + "..." : posts?.description}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user