Skip to content

Commit

Permalink
display media content in replies (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsAditya-xyz committed Mar 2, 2022
1 parent ca6e1ac commit 9afae82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/feed/feed-post/feed-post.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@
queryParamsHandling="merge"
></div>

<!-- Media, don't show images on comment posts. -->
<!-- Media -->
<div
*ngIf="postContent.ImageURLs && postContent.ImageURLs[0] && !post.ParentStakeID"
*ngIf="postContent.ImageURLs && postContent.ImageURLs[0]"
class="feed-post__image-container"
[ngClass]="{ 'mb-10px': quotedContent && showQuotedContent }"
>
Expand All @@ -278,7 +278,7 @@

<!-- Video -->
<div
*ngIf="postContent.VideoURLs && postContent.VideoURLs[0] && !post.ParentStakeID"
*ngIf="postContent.VideoURLs && postContent.VideoURLs[0]"
class="feed-post__video-container"
[ngClass]="{ 'mb-10px': quotedContent && showQuotedContent }"
>
Expand Down

0 comments on commit 9afae82

Please sign in to comment.