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