disable reaction bar for posts that don't support it
This commit is contained in:
parent
dc9b456409
commit
6953b49563
|
@ -65,7 +65,9 @@
|
|||
<PostHeader post={post} />
|
||||
<Body post={post} />
|
||||
<footer class="post-footer">
|
||||
<ReactionBar post={post} />
|
||||
{#if post.reactions}
|
||||
<ReactionBar post={post} />
|
||||
{/if}
|
||||
<ActionBar post={post} />
|
||||
</footer>
|
||||
</article>
|
||||
|
|
|
@ -43,7 +43,9 @@
|
|||
<Body post={post} />
|
||||
|
||||
<footer class="post-footer">
|
||||
<ReactionBar post={post} />
|
||||
{#if post.reactions}
|
||||
<ReactionBar post={post} />
|
||||
{/if}
|
||||
<ActionBar post={post} />
|
||||
</footer>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue