limit account's media to images/gifs
This commit is contained in:
parent
c75245fabe
commit
b65737e237
|
@ -215,7 +215,7 @@
|
|||
</div>
|
||||
<div *ngIf="statusSection === 'media'" class="status-media">
|
||||
<div *ngFor="let media of statusWrapper.status.media_attachments">
|
||||
<a href title="open" (click)="openAttachment(media)">
|
||||
<a *ngIf="media.type === 'image' || media.type === 'gifv'" href title="open" (click)="openAttachment(media)">
|
||||
<img class="status-media__image" src="{{media.preview_url}}" />
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue