From d625fed0fd01604f0757bb85e599a3196fb37fad Mon Sep 17 00:00:00 2001 From: ntsekouras Date: Thu, 23 Nov 2023 09:19:13 +0200 Subject: [PATCH] Dataviews: Remove link from author --- packages/edit-site/src/components/dataviews/dataviews.js | 4 ++-- packages/edit-site/src/components/page-pages/index.js | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/packages/edit-site/src/components/dataviews/dataviews.js b/packages/edit-site/src/components/dataviews/dataviews.js index 682060203de7c3..78d0ea83abb8ee 100644 --- a/packages/edit-site/src/components/dataviews/dataviews.js +++ b/packages/edit-site/src/components/dataviews/dataviews.js @@ -56,8 +56,8 @@ export default function DataViews( { return (
- - + + { search && ( item._embedded?.author[ 0 ]?.name, - render: ( { item } ) => { - const author = item._embedded?.author[ 0 ]; - return ( - - { author.name } - - ); - }, type: ENUMERATION_TYPE, elements: authors?.map( ( { id, name } ) => ( {