diff --git a/packages/block-library/src/navigation/edit.js b/packages/block-library/src/navigation/edit.js index f93399e38931a..0f21df8e75ad3 100644 --- a/packages/block-library/src/navigation/edit.js +++ b/packages/block-library/src/navigation/edit.js @@ -41,7 +41,6 @@ function Navigation( { className, hasSubmenuIndicatorSetting = true, hasItemJustificationControls = attributes.orientation === 'horizontal', - hasListViewModal = true, } ) { const [ isPlaceholderShown, setIsPlaceholderShown ] = useState( ! hasExistingNavItems @@ -124,11 +123,9 @@ function Navigation( { } } /> ) } - { hasListViewModal && ( - { navigatorToolbarButton } - ) } + { navigatorToolbarButton } - { hasListViewModal && navigatorModal } + { navigatorModal } { hasSubmenuIndicatorSetting && ( diff --git a/packages/edit-navigation/src/filters/add-menu-name-editor.js b/packages/edit-navigation/src/filters/add-menu-name-editor.js index e7c0e4210aeb6..030fd7da961b6 100644 --- a/packages/edit-navigation/src/filters/add-menu-name-editor.js +++ b/packages/edit-navigation/src/filters/add-menu-name-editor.js @@ -15,8 +15,8 @@ const addMenuNameEditor = createHigherOrderComponent( } return ( <> - + ); }, diff --git a/packages/edit-navigation/src/filters/remove-edit-unsupported-features.js b/packages/edit-navigation/src/filters/remove-edit-unsupported-features.js index a2074e2216501..5752f642f5229 100644 --- a/packages/edit-navigation/src/filters/remove-edit-unsupported-features.js +++ b/packages/edit-navigation/src/filters/remove-edit-unsupported-features.js @@ -15,7 +15,6 @@ const removeNavigationBlockEditUnsupportedFeatures = createHigherOrderComponent( { ...props } hasSubmenuIndicatorSetting={ false } hasItemJustificationControls={ false } - hasListViewModal={ false } /> ); },