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} /> | ||||
|         <Body post={post} /> | ||||
|         <footer class="post-footer"> | ||||
|             {#if post.reactions} | ||||
|                 <ReactionBar post={post} /> | ||||
|             {/if} | ||||
|             <ActionBar post={post} /> | ||||
|         </footer> | ||||
|     </article> | ||||
|  |  | |||
|  | @ -43,7 +43,9 @@ | |||
|         <Body post={post} /> | ||||
| 
 | ||||
|         <footer class="post-footer"> | ||||
|             {#if post.reactions} | ||||
|                 <ReactionBar post={post} /> | ||||
|             {/if} | ||||
|             <ActionBar post={post} /> | ||||
|         </footer> | ||||
|     </div> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue