fix: postmedia showing in compact view
This commit is contained in:
1 parent
aea47580bf
commit
01ffa53595
1 file changed
+1
-1
@@ -31,7 +31,7 @@
|
|||||||
- A media item (pictures, videos) (large form factor posts only)
|
- A media item (pictures, videos) (large form factor posts only)
|
||||||
- Embed link/card.
|
- Embed link/card.
|
||||||
-->
|
-->
|
||||||
{#if type == 'image'}
|
{#if type == 'image' && (view == 'cozy' || view == 'card')}
|
||||||
<PostImage {post} {blur} />
|
<PostImage {post} {blur} />
|
||||||
{:else if (type == 'iframe' || type == 'video') && (view == 'cozy' || view == 'card') && post.url}
|
{:else if (type == 'iframe' || type == 'video') && (view == 'cozy' || view == 'card') && post.url}
|
||||||
<PostIframe
|
<PostIframe
|
||||||
|
|||||||
Reference in new issue
Block a user