[Glitch] List attachments in boost modal
Port dd45c63921f6f64096fa6a1693cc84d6aa33c54f to glitch-soc
This commit is contained in:
		
							parent
							
								
									60adda7e59
								
							
						
					
					
						commit
						7b68e1725c
					
				@ -7,6 +7,7 @@ import StatusContent from 'flavours/glitch/components/status_content';
 | 
			
		||||
import Avatar from 'flavours/glitch/components/avatar';
 | 
			
		||||
import RelativeTimestamp from 'flavours/glitch/components/relative_timestamp';
 | 
			
		||||
import DisplayName from 'flavours/glitch/components/display_name';
 | 
			
		||||
import AttachmentList from 'flavours/glitch/components/attachment_list';
 | 
			
		||||
import ImmutablePureComponent from 'react-immutable-pure-component';
 | 
			
		||||
 | 
			
		||||
const messages = defineMessages({
 | 
			
		||||
@ -75,6 +76,13 @@ export default class BoostModal extends ImmutablePureComponent {
 | 
			
		||||
            </div>
 | 
			
		||||
 | 
			
		||||
            <StatusContent status={status} />
 | 
			
		||||
 | 
			
		||||
            {status.get('media_attachments').size > 0 && (
 | 
			
		||||
              <AttachmentList
 | 
			
		||||
                compact
 | 
			
		||||
                media={status.get('media_attachments')}
 | 
			
		||||
              />
 | 
			
		||||
            )}
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user