From ee55aa1616aade9359c83a9d24fb937b0cc84957 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9?= <583546+oandregal@users.noreply.github.com>
Date: Tue, 29 Oct 2024 18:57:35 +0100
Subject: [PATCH] MediaField optional for list layout
---
.../dataviews/src/dataviews-layouts/list/index.tsx | 12 +++++-------
.../dataviews/src/dataviews-layouts/list/style.scss | 6 ------
2 files changed, 5 insertions(+), 13 deletions(-)
diff --git a/packages/dataviews/src/dataviews-layouts/list/index.tsx b/packages/dataviews/src/dataviews-layouts/list/index.tsx
index 82f9b5ea4d4fc5..a4f94e482c69b3 100644
--- a/packages/dataviews/src/dataviews-layouts/list/index.tsx
+++ b/packages/dataviews/src/dataviews-layouts/list/index.tsx
@@ -176,10 +176,10 @@ function ListItem< Item >( {
}, [ actions, item ] );
const renderedMediaField = mediaField?.render ? (
-