We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1753c04 commit 73162deCopy full SHA for 73162de
packages/edit-site/src/components/sidebar-navigation-screen-main/index.js
@@ -34,6 +34,9 @@ export default function SidebarNavigationScreenMain() {
34
return navigationMenus?.length > 0;
35
} );
36
37
+ const showNavigationScreen = process.env.IS_GUTENBERG_PLUGIN
38
+ ? hasNavigationMenus
39
+ : false;
40
return (
41
<SidebarNavigationScreen
42
isRoot
@@ -43,7 +46,7 @@ export default function SidebarNavigationScreenMain() {
43
46
) }
44
47
content={
45
48
<ItemGroup>
- { hasNavigationMenus && (
49
+ { showNavigationScreen && (
50
<NavigatorButton
51
as={ SidebarNavigationItem }
52
path="/navigation"
0 commit comments