From 13999e44eb08c1454964f0d7befacfd965f3f8d4 Mon Sep 17 00:00:00 2001 From: Manuel <30572287+manuel-rw@users.noreply.github.com> Date: Tue, 7 Mar 2023 19:52:56 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Add=20conditional=20rendering=20?= =?UTF-8?q?for=20image?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widgets/rss/RssWidgetTile.tsx | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/widgets/rss/RssWidgetTile.tsx b/src/widgets/rss/RssWidgetTile.tsx index 39b03db68..dd3bf80f9 100644 --- a/src/widgets/rss/RssWidgetTile.tsx +++ b/src/widgets/rss/RssWidgetTile.tsx @@ -137,15 +137,17 @@ function RssTile({ widget }: RssTileProps) { )} - - - + {item.enclosure && ( + + + + )} {item.categories && (