Fix poll visibility on public pages (#10817)
* Fix poll visibility on public pages * Revert "Fix poll visibility on public pages" This reverts commit 54a9608add6f855bc6337fe3c65eaee7ba13db49. * Revert "Change poll options to alphabetic letters when status text is hidden" This reverts commit c53d67326201b2061990b1874a3547c3647f50d2.
This commit is contained in:
		
					parent
					
						
							
								1e6a1ea075
							
						
					
				
			
			
				commit
				
					
						3b9c02506d
					
				
			
		
					 3 changed files with 8 additions and 10 deletions
				
			
		|  | @ -108,7 +108,7 @@ export default class DetailedStatus extends ImmutablePureComponent { | |||
|     } | ||||
| 
 | ||||
|     if (status.get('poll')) { | ||||
|       media = <PollContainer pollId={status.get('poll')} visible={!status.get('hidden')} />; | ||||
|       media = <PollContainer pollId={status.get('poll')} />; | ||||
|     } else if (status.get('media_attachments').size > 0) { | ||||
|       if (status.getIn(['media_attachments', 0, 'type']) === 'video') { | ||||
|         const video = status.getIn(['media_attachments', 0]); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue