Added empty message to account_gallery media page
This commit is contained in:
parent
45dcd5a1ab
commit
092bc3898c
@ -212,6 +212,13 @@ class AccountGallery extends ImmutablePureComponent {
|
|||||||
<MediaItem key={attachment.get('id')} attachment={attachment} displayWidth={width} onOpenMedia={this.handleOpenMedia} />
|
<MediaItem key={attachment.get('id')} attachment={attachment} displayWidth={width} onOpenMedia={this.handleOpenMedia} />
|
||||||
))}
|
))}
|
||||||
|
|
||||||
|
{
|
||||||
|
attachments.size == 0 &&
|
||||||
|
<div className='empty-column-indicator'>
|
||||||
|
<FormattedMessage id='account_gallery.none' defaultMessage='No media to show.'/>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
|
||||||
{loadOlder}
|
{loadOlder}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user