diff --git a/packages/volto/news/6278.bugfix b/packages/volto/news/6278.bugfix new file mode 100644 index 0000000000..df2d41d358 --- /dev/null +++ b/packages/volto/news/6278.bugfix @@ -0,0 +1 @@ +Remove `Generate tabs for items other than folders` field from navigation control panel. @wesleybl diff --git a/packages/volto/src/config/ControlPanels.js b/packages/volto/src/config/ControlPanels.js index 8b7dca7461..1aaeabf488 100644 --- a/packages/volto/src/config/ControlPanels.js +++ b/packages/volto/src/config/ControlPanels.js @@ -90,6 +90,7 @@ export const unwantedControlPanelsFields = { navigation: [ 'generate_tabs', 'navigation_depth', + 'nonfolderish_tabs', 'sort_tabs_on', 'sort_tabs_reversed', 'sitemap_depth', diff --git a/packages/volto/src/config/config.test.js b/packages/volto/src/config/config.test.js index dcef327e32..59ae1dcc8a 100644 --- a/packages/volto/src/config/config.test.js +++ b/packages/volto/src/config/config.test.js @@ -221,6 +221,7 @@ test('test navigation controlpanel fields', () => { const not_in_navigation = [ 'generate_tabs', 'navigation_depth', + 'nonfolderish_tabs', 'sort_tabs_on', 'sort_tabs_reversed', 'sitemap_depth',