From 952facd92963b1ea9befea70c4a7716e739d82d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Maneiro?=
<583546+oandregal@users.noreply.github.com>
Date: Wed, 24 Jan 2024 09:20:03 +0100
Subject: [PATCH] Custom views are still experimental
---
.../src/components/sidebar-dataviews/index.js | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/packages/edit-site/src/components/sidebar-dataviews/index.js b/packages/edit-site/src/components/sidebar-dataviews/index.js
index 991a4a30e9973..caf838b085786 100644
--- a/packages/edit-site/src/components/sidebar-dataviews/index.js
+++ b/packages/edit-site/src/components/sidebar-dataviews/index.js
@@ -47,11 +47,13 @@ export default function DataViewsSidebarContent() {
);
} ) }
-
+ { window?.__experimentalAdminViews && (
+
+ ) }
>
);
}