From 527facb5c4839f40c73a03e77832070e7d0d7056 Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Mon, 12 Jun 2023 14:40:27 +0100 Subject: [PATCH] Show actions for empty menus --- .../sidebar-navigation-screen-navigation-menu/index.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menu/index.js b/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menu/index.js index 09dc9106af1923..1c4bce62fc1ed7 100644 --- a/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menu/index.js +++ b/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menu/index.js @@ -211,6 +211,14 @@ export default function SidebarNavigationScreenNavigationMenu() { if ( ! navigationMenu?.content?.raw ) { return ( + } title={ decodeEntities( menuTitle ) } description={ __( 'This Navigation Menu is empty.' ) } />