disable reaction bar for posts that don't support it

This commit is contained in:
ari melody 2024-07-01 00:15:21 +01:00
parent dc9b456409
commit 6953b49563
Signed by: ari
GPG key ID: CF99829C92678188
2 changed files with 6 additions and 2 deletions

View file

@ -65,7 +65,9 @@
<PostHeader post={post} />
<Body post={post} />
<footer class="post-footer">
{#if post.reactions}
<ReactionBar post={post} />
{/if}
<ActionBar post={post} />
</footer>
</article>

View file

@ -43,7 +43,9 @@
<Body post={post} />
<footer class="post-footer">
{#if post.reactions}
<ReactionBar post={post} />
{/if}
<ActionBar post={post} />
</footer>
</div>